[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 #!/bin/bash 2 3 ## $Id: update-modules.sh 7061 2012-04-02 09:22:45Z dbo $ ## 4 # 5 ##### Retourne si une maj se3 est nécessaire ##### 6 7 if [ "$1" = "--help" -o "$1" = "-h" ] 8 then 9 echo "Retourne si une maj de se3 est ŕ faire" 10 echo "Usage : aucune option" 11 exit 12 fi 13 14 apt-get -s install se3-domain 2>/dev/null | grep 'Inst' && MAJ=0 15 apt-get -s dist-upgrade 2>/dev/null | grep 'se3' && MAJ=0 16 if [ "$MAJ" = "0" ] 17 then 18 echo "0" 19 exit 0 20 else 21 echo "1" 22 exit 1 23 fi 24
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |