Demo entry 6636468

sh

   

Submitted by anonymous on Aug 25, 2017 at 03:52
Language: Bash. Code size: 384 Bytes.

function install_component()
{
    local component="$1"
    cd openvas
    cd $component-* 
    mkdir build 
    cd build 
    cmake .. 
    make 
    make doc-full 
    version=`pwd | sed 's/\//\n/g' | grep "$component" | sed "s/$component-//"`
    checkinstall --pkgname "$component" --pkgversion "$version" --maintainer "openvas_commander" -y     
    cd ../../../
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).