mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Update install_yunohost
This commit is contained in:
parent
5378138919
commit
940174cbf6
1 changed files with 10 additions and 10 deletions
|
@ -111,16 +111,16 @@ then
|
||||||
|
|
||||||
CUSTOMAPT=/etc/apt/sources.list
|
CUSTOMAPT=/etc/apt/sources.list
|
||||||
|
|
||||||
if [[ "$(lsb_release -cs)" = "wheezy" ]] || [[ "$(lsb_release -cs)" = "n/a" ]]
|
#if [[ "$(lsb_release -cs)" = "wheezy" ]] || [[ "$(lsb_release -cs)" = "n/a" ]]
|
||||||
then
|
#then
|
||||||
whiptail --title "Yunohost Installation" --yesno "Caution : Yunohost v2 is in development.\nDo you want to proceed install of Yunohost?" 8 78
|
# whiptail --title "Yunohost Installation" --yesno "Caution : Yunohost v2 is in development.\nDo you want to proceed install of Yunohost?" 8 78
|
||||||
YESNO=$?
|
# YESNO=$?
|
||||||
if [[ $YESNO -eq 1 ]]
|
# if [[ $YESNO -eq 1 ]]
|
||||||
then
|
# then
|
||||||
echo "======== Installation cancelled ========"
|
# echo "======== Installation cancelled ========"
|
||||||
exit $ERR_CANCEL_INSTALL
|
# exit $ERR_CANCEL_INSTALL
|
||||||
fi
|
# fi
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
grep -qri "yunohost" $CUSTOMAPT
|
grep -qri "yunohost" $CUSTOMAPT
|
||||||
if [[ $? -eq 1 ]]
|
if [[ $? -eq 1 ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue