Deletet Auto install of Upstart
This commit is contained in:
parent
1132f79115
commit
9c06be3b99
30
install
30
install
|
@ -349,21 +349,21 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +e
|
#set +e
|
||||||
command="initctl"
|
# command="initctl"
|
||||||
eval hash ${command} 2>/dev/null
|
# eval hash ${command} 2>/dev/null
|
||||||
commandFound=$?
|
# commandFound=$?
|
||||||
if [[ ! ${commandFound} -eq 0 ]] && [ "$dist" == "ubuntu" ] && [ "$code" == "xenial" ]; then
|
# if [[ ! ${commandFound} -eq 0 ]] && [ "$dist" == "ubuntu" ] && [ "$code" == "xenial" ]; then#
|
||||||
verbose "\n * Reset Systemd with Upstart"
|
# verbose "\n * Reset Systemd with Upstart"
|
||||||
loudCmd "update-initramfs -u"
|
# loudCmd "update-initramfs -u"
|
||||||
echo
|
# 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 "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 "After the restart just restart the instalation."
|
||||||
echo -e "To reboot press any key to reboot. \c"
|
# echo -e "To reboot press any key to reboot. \c"
|
||||||
read IN
|
# read IN
|
||||||
loudCmd "reboot"
|
# loudCmd "reboot"
|
||||||
fi
|
# fi
|
||||||
set -e
|
#set -e
|
||||||
# Check if composer exists and install if it doesn't
|
# Check if composer exists and install if it doesn't
|
||||||
set +e
|
set +e
|
||||||
eval hash "composer" 2>/dev/null
|
eval hash "composer" 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue