From 9c06be3b994557366d052a5e823d430efe9e7268 Mon Sep 17 00:00:00 2001 From: Lapotor Date: Tue, 11 Apr 2017 06:03:45 +0200 Subject: [PATCH] Deletet Auto install of Upstart --- install | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/install b/install index e3cf85699..9ae8396d2 100755 --- a/install +++ b/install @@ -349,21 +349,21 @@ else fi fi -set +e - command="initctl" - eval hash ${command} 2>/dev/null - commandFound=$? - if [[ ! ${commandFound} -eq 0 ]] && [ "$dist" == "ubuntu" ] && [ "$code" == "xenial" ]; then - verbose "\n * Reset Systemd with Upstart" - loudCmd "update-initramfs -u" - echo - echo "We detect Ubuntu Xenial on your system so we need to change systemd to Upstart to complete this we need to restart your system!" - echo "After the restart just restart the instalation." - echo -e "To reboot press any key to reboot. \c" - read IN - loudCmd "reboot" - fi -set -e +#set +e +# command="initctl" +# eval hash ${command} 2>/dev/null +# commandFound=$? +# if [[ ! ${commandFound} -eq 0 ]] && [ "$dist" == "ubuntu" ] && [ "$code" == "xenial" ]; then# +# verbose "\n * Reset Systemd with Upstart" +# loudCmd "update-initramfs -u" +# echo +# echo "We detect Ubuntu Xenial on your system so we need to change systemd to Upstart to complete this we need to restart your system!" +# echo "After the restart just restart the instalation." +# echo -e "To reboot press any key to reboot. \c" +# read IN +# loudCmd "reboot" +# fi +#set -e # Check if composer exists and install if it doesn't set +e eval hash "composer" 2>/dev/null