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