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
|
||||
|
||||
if [[ "$(lsb_release -cs)" = "wheezy" ]] || [[ "$(lsb_release -cs)" = "n/a" ]]
|
||||
then
|
||||
whiptail --title "Yunohost Installation" --yesno "Caution : Yunohost v2 is in development.\nDo you want to proceed install of Yunohost?" 8 78
|
||||
YESNO=$?
|
||||
if [[ $YESNO -eq 1 ]]
|
||||
then
|
||||
echo "======== Installation cancelled ========"
|
||||
exit $ERR_CANCEL_INSTALL
|
||||
fi
|
||||
fi
|
||||
#if [[ "$(lsb_release -cs)" = "wheezy" ]] || [[ "$(lsb_release -cs)" = "n/a" ]]
|
||||
#then
|
||||
# whiptail --title "Yunohost Installation" --yesno "Caution : Yunohost v2 is in development.\nDo you want to proceed install of Yunohost?" 8 78
|
||||
# YESNO=$?
|
||||
# if [[ $YESNO -eq 1 ]]
|
||||
# then
|
||||
# echo "======== Installation cancelled ========"
|
||||
# exit $ERR_CANCEL_INSTALL
|
||||
# fi
|
||||
#fi
|
||||
|
||||
grep -qri "yunohost" $CUSTOMAPT
|
||||
if [[ $? -eq 1 ]]
|
||||
|
|
Loading…
Add table
Reference in a new issue