Update install_yunohost

This commit is contained in:
abeudin 2012-10-15 00:22:53 +03:00
parent 5378138919
commit 940174cbf6

View file

@ -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 ]]