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:
commit
fb73914cac
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user