|
@ -18,9 +18,9 @@ function ECHO_WHITE () |
|
|
echo $(tput setaf 7)$@$(tput sgr0) |
|
|
echo $(tput setaf 7)$@$(tput sgr0) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Check the specified package is instlled or not |
|
|
function PACKAGE_CHECK() |
|
|
function PACKAGE_CHECK() |
|
|
{ |
|
|
{ |
|
|
# Check the specified package is instlled or not |
|
|
|
|
|
for i in $@;do |
|
|
for i in $@;do |
|
|
dpkg --get-selections | grep -v deinstall | grep $i &>> INSTALL_LOG |
|
|
dpkg --get-selections | grep -v deinstall | grep $i &>> INSTALL_LOG |
|
|
# Generate a list of not installed package |
|
|
# Generate a list of not installed package |
|
|