New Release : 2015.08.21.01.37.56

This commit is contained in:
MatMoul 2015-08-21 01:38:11 +02:00
parent c937e93eea
commit e6d596a884
2 changed files with 2 additions and 20 deletions

20
archdi Executable file → Normal file
View file

@ -17,8 +17,7 @@ version="2015.04.26.22.14.52"
cachedir=~/.cache/archdi cachedir=~/.cache/archdi
lastverurl1=http://archdi.sourceforge.net/version lastverurl1=http://archdi.sourceforge.net/version
#lastverurl2=https://raw.githubusercontent.com/MatMoul/archdi/master/version lastverurl2=https://raw.githubusercontent.com/MatMoul/archdi/master/version
lastverurl2=https://raw.githubusercontent.com/MatMoul/archdi/NewCodeStructure/version
binurl1=archdi.sourceforge.net/archdi binurl1=archdi.sourceforge.net/archdi
binurl2=matmoul.github.io/archdi binurl2=matmoul.github.io/archdi
@ -79,20 +78,6 @@ dependencies(){
exit 1 exit 1
fi fi
fi fi
#liburl=$liburl1
#if (curl $liburl 1>/dev/null 2>/dev/null) then
# echo "Connexion OK."
#else
# liburl=$liburl2
# if (curl $liburl 1>/dev/null 2>/dev/null) then
# echo "Connexion OK."
# else
# echo "No connexion, please check your internet connexion !"
# exit 1
# fi
#fi
echo "" echo ""
echo "Checking $apptitle dependencies :" echo "Checking $apptitle dependencies :"
echo "" echo ""
@ -124,7 +109,6 @@ dependencies(){
chkupgrade(){ chkupgrade(){
if [ "$0" = "/usr/bin/archdi" ]; then if [ "$0" = "/usr/bin/archdi" ]; then
#if [ -f "/usr/bin/archdi" ]; then
if [ ! "$version" = "$lastversion" ]; then if [ ! "$version" = "$lastversion" ]; then
if (whiptail --backtitle "$apptitle" --yesno "New version found !\n\nInstall last version ?" 0 0) then if (whiptail --backtitle "$apptitle" --yesno "New version found !\n\nInstall last version ?" 0 0) then
cd /tmp cd /tmp
@ -142,8 +126,6 @@ while (( "$#" )); do
exit 0;; exit 0;;
-i|--install) install -i|--install) install
exit 0;; exit 0;;
#--rc) isrc=true
# liburl=$liburl-rc;;
--chroot) chrootoption="true";; --chroot) chrootoption="true";;
esac esac
shift shift

View file

@ -1 +1 @@
2015.04.26.22.14.52 2015.08.21.01.37.56