Commit c2a3c48a authored by Steven Mondji-Lerider's avatar Steven Mondji-Lerider
Browse files

bugfixing upgrade checking script to sort by file extentions

parent 25fb24a5
......@@ -33,7 +33,7 @@ fi
# the upgrade script we are considering
extensions="*.sql *.sh *.php"
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
# the version in the filename
upvers=`strip_ext $file`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment