bugfixing upgrade checking script to sort by file extentions
This commit is contained in:
parent
25fb24a551
commit
c2a3c48a73
|
@ -33,7 +33,7 @@ fi
|
||||||
# the upgrade script we are considering
|
# the upgrade script we are considering
|
||||||
extensions="*.sql *.sh *.php"
|
extensions="*.sql *.sh *.php"
|
||||||
cd /usr/share/alternc/install/upgrades
|
cd /usr/share/alternc/install/upgrades
|
||||||
for file in $( ls $extensions | sort -n ) ; do
|
for file in $( echo $extensions | sort -n ) ; do
|
||||||
if [ -r $file ]; then
|
if [ -r $file ]; then
|
||||||
# the version in the filename
|
# the version in the filename
|
||||||
upvers=`strip_ext $file`
|
upvers=`strip_ext $file`
|
||||||
|
|
Loading…
Reference in New Issue