Update Thu Oct 1 01:41:30 PM CDT 2020
This commit is contained in:
parent
24294a2a91
commit
011b96da89
|
@ -122,11 +122,11 @@ fix_section () {
|
||||||
if [ $force -ne 0 ]
|
if [ $force -ne 0 ]
|
||||||
then
|
then
|
||||||
echo -e "\n $redstar Reinstallation : $section"
|
echo -e "\n $redstar Reinstallation : $section"
|
||||||
apt -y reinstall $section
|
eval apt -y reinstall $section $silent
|
||||||
else
|
else
|
||||||
if [ $check -ne 1 ]
|
if [ $check -ne 1 ]
|
||||||
then
|
then
|
||||||
apt -y install $section
|
eval apt -y install $section $silent
|
||||||
echo -e "\n $greenplus $section $type"
|
echo -e "\n $greenplus $section $type"
|
||||||
else
|
else
|
||||||
echo -e "\n $greenminus $section already installed"
|
echo -e "\n $greenminus $section already installed"
|
||||||
|
@ -139,8 +139,8 @@ fix_section () {
|
||||||
}
|
}
|
||||||
|
|
||||||
fix_missing () {
|
fix_missing () {
|
||||||
apt -y update && apt -y autoremove
|
eval apt -y update $silent && eval apt -y autoremove $silent
|
||||||
apt -y remove kali-undercover 2> /dev/null
|
eval apt -y remove kali-undercover $silent
|
||||||
echo -e "\n $greenplus apt updated "
|
echo -e "\n $greenplus apt updated "
|
||||||
|
|
||||||
# section= must be exact name of package in kali repo ( apt-cache search itemname )
|
# section= must be exact name of package in kali repo ( apt-cache search itemname )
|
||||||
|
|
Loading…
Reference in New Issue