1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00

Merge branch 'dev'

This commit is contained in:
Sylvain 2018-11-28 10:24:09 +01:00
commit fb73914cac

View File

@ -12,8 +12,9 @@ config()
{ {
if [ "$(whoami)" = "root" ] if [ "$(whoami)" = "root" ]
then then
echo "Please do not run this script as root, elevation will be prompted if needed." echo "It is not recommended to run this script as root. As a normal user, elevation will be prompted if needed."
exit 1 read -rp "Continue anyway? (y/n) " confirm </dev/tty
if [[ "$confirm" = "n" ]]; then exit 1; fi
fi fi
echo "detecting curl..." echo "detecting curl..."
if ! command -v curl if ! command -v curl