Update install.sh
This commit is contained in:
parent
f4c33a6088
commit
fa0cce7354
1 changed files with 12 additions and 12 deletions
|
@ -68,18 +68,18 @@ for DEPENDENCY in "${DEPENDENCIES_LIST[@]}"; do
|
|||
fi
|
||||
done
|
||||
|
||||
DEPENDENCIES_FOR_REMOVE_LIST=(
|
||||
"apache2"
|
||||
)
|
||||
# Check if the dependencies are installed
|
||||
for DEPENDENCY in "${DEPENDENCIES_FOR_REMOVE_LIST[@]}"; do
|
||||
if command_is_installed $DEPENDENCY; then
|
||||
echo "Dependency $DEPENDENCY is installed."
|
||||
echo "Removing $DEPENDENCY..."
|
||||
apt purge -y $DEPENDENCY
|
||||
apt autoremove -y
|
||||
fi
|
||||
done
|
||||
#DEPENDENCIES_FOR_REMOVE_LIST=(
|
||||
# "apache2"
|
||||
#)
|
||||
## Check if the dependencies are installed
|
||||
#for DEPENDENCY in "${DEPENDENCIES_FOR_REMOVE_LIST[@]}"; do
|
||||
# if command_is_installed $DEPENDENCY; then
|
||||
# echo "Dependency $DEPENDENCY is installed."
|
||||
# echo "Removing $DEPENDENCY..."
|
||||
# apt purge -y $DEPENDENCY
|
||||
# apt autoremove -y
|
||||
# fi
|
||||
#done
|
||||
|
||||
|
||||
# sudo ufw allow proto tcp from any to any port 80,443
|
||||
|
|
Loading…
Reference in a new issue