remove dependsetup.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Installs Dependencies automatically
|
||||
#TODO: 1. add success outputs to script
|
||||
################################################################################
|
||||
|
||||
echo "Installing dependencies..."
|
||||
# create necessary dirs
|
||||
if [ ! -d "/root/scripts" ] ; then
|
||||
mkdir scripts
|
||||
@@ -62,6 +62,7 @@ if [ $? -ne 0 ] ; then
|
||||
echo "semanage failed to set permissive, see logs/firewall.log for more info"
|
||||
exit 1
|
||||
fi
|
||||
echo "Done."
|
||||
|
||||
################################################################################
|
||||
# Python
|
||||
@@ -156,7 +157,6 @@ systemctl status nginx" > scripts/nginxsetup.sh
|
||||
# Permissions
|
||||
# Change permissions of .sh files created above
|
||||
################################################################################
|
||||
chmod 700 scripts/dependsetup.sh
|
||||
chmod 700 scripts/pythonsetup.sh
|
||||
chmod 700 scripts/djangosetup.sh
|
||||
chmod 700 scripts/gunicornsetup.sh
|
||||
@@ -165,9 +165,6 @@ chmod 700 scripts/nginxsetup.sh
|
||||
################################################################################
|
||||
# Run install
|
||||
################################################################################
|
||||
echo "Installing dependencies..."
|
||||
sh scripts/dependsetup.sh > logs/dependsetup.log
|
||||
echo "Done."
|
||||
echo "Installing python..."
|
||||
sh scripts/pythonsetup.sh > logs/pythonsetup.log
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user