mirror of
https://github.com/YunoHost/yunohost_demo.git
synced 2024-09-03 19:56:44 +02:00
fix not existing sub_scripts
This commit is contained in:
parent
2002247d2e
commit
5c65376d18
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ IP_LXC2=$(cat "$script_dir/demo_lxc_build.sh" | grep IP_LXC2= | cut -d '=' -f2)
|
||||||
|
|
||||||
# Check user
|
# Check user
|
||||||
if [ "$USER" != "$(cat "$script_dir/setup_user")" ]; then
|
if [ "$USER" != "$(cat "$script_dir/setup_user")" ]; then
|
||||||
echo -e "\e[91mCe script doit être exécuté avec l'utilisateur $(cat "$script_dir/sub_scripts/setup_user")"
|
echo -e "\e[91mCe script doit être exécuté avec l'utilisateur $(cat "$script_dir/setup_user")"
|
||||||
echo -en "\e[0m"
|
echo -en "\e[0m"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -11,7 +11,7 @@ DOMAIN=$(cat "$script_dir/domain.ini")
|
||||||
|
|
||||||
# Check user
|
# Check user
|
||||||
if [ "$USER" != "$(cat "$script_dir/setup_user")" ]; then
|
if [ "$USER" != "$(cat "$script_dir/setup_user")" ]; then
|
||||||
echo -e "\e[91mCe script doit être exécuté avec l'utilisateur $(cat "$script_dir/sub_scripts/setup_user")"
|
echo -e "\e[91mCe script doit être exécuté avec l'utilisateur $(cat "$script_dir/setup_user")"
|
||||||
echo -en "\e[0m"
|
echo -en "\e[0m"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue