Mods are now synced up with latest version of Erbosoft Plus pack

Also added configuration for more modules, modlist sorting.
This commit is contained in:
Eric J. Bowersox
2015-11-05 22:43:02 -07:00
parent 7707955fe7
commit baa37b0439
14 changed files with 2873 additions and 15 deletions

24
scripts/sort-modlist Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
# Sorts the modlist.txt file in one of the module directories.
# EJB 11/5/2015
if [ "x$1" = "x" ]; then
echo "Usage: $0 directory-name"
exit 1
fi
dir=$1
if [ ! -d $dir ]; then
echo "$0: $dir is not a directory"
exit 1
fi
if [ ! -f $dir/modlist.txt ]; then
echo "$0: modlist.txt not found in $dir"
exit 1
fi
[ -f $dir/modlist.txt.old ] && rm $dir/modlist.txt.old
[ -f $dir/modlist.txt.new ] && rm $dir/modlist.txt.new
sort $dir/modlist.txt > $dir/modlist.txt.new
mv $dir/modlist.txt $dir/modlist.txt.old
mv $dir/modlist.txt.new $dir/modlist.txt
rm $dir/modlist.txt.old
exit 0