bzip2 -> xz
This commit is contained in:
parent
9180fb7191
commit
73ed16ed06
6
pack
6
pack
|
@ -44,16 +44,16 @@ for BRANCH in $BRANCHES; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -f "$LCODE-$BRANCH.tar.bz2" ]; then
|
if [ -f "$LCODE-$BRANCH.tar.xz" ]; then
|
||||||
echo "Removing old archive."
|
echo "Removing old archive."
|
||||||
rm -f "$LCODE-$BRANCH.tar.bz2"
|
rm -f "$LCODE-$BRANCH.tar.xz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $counter -eq 0 ]; then
|
if [ ! $counter -eq 0 ]; then
|
||||||
cd $LCODE-temp
|
cd $LCODE-temp
|
||||||
$TAR --remove-files -cf ../$LCODE-$BRANCH.tar wesnoth*
|
$TAR --remove-files -cf ../$LCODE-$BRANCH.tar wesnoth*
|
||||||
cd ..
|
cd ..
|
||||||
$BZIP2 --best $LCODE-$BRANCH.tar
|
$XZ -9 $LCODE-$BRANCH.tar
|
||||||
echo "New archive created."
|
echo "New archive created."
|
||||||
fi
|
fi
|
||||||
rm -rf $BRANCH-temp
|
rm -rf $BRANCH-temp
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
# Repositories
|
# Repositories
|
||||||
REPO="~/repositories/wesnoth" # preferably local clone but remote should work as well
|
REPO="~/repositories/wesnoth" # preferably local clone but remote should work as well
|
||||||
BRANCHES="master 1.10" # one or multiple branches separated by space.
|
BRANCHES="master" # one or multiple branches separated by space.
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
LCODE="lt" # Language code. Only 1 language is supported.
|
LCODE="lt" # Language code. Only 1 language is supported.
|
||||||
|
@ -32,7 +32,7 @@ MSGMERGE=`which msgmerge 2> /dev/null`
|
||||||
MSGINIT=`which msginit 2> /dev/null`
|
MSGINIT=`which msginit 2> /dev/null`
|
||||||
ISUTF8=`which isutf8 2> /dev/null`
|
ISUTF8=`which isutf8 2> /dev/null`
|
||||||
TAR=`which tar 2> /dev/null`
|
TAR=`which tar 2> /dev/null`
|
||||||
BZIP2=`which bzip2 2> /dev/null`
|
XZ=`which xz 2> /dev/null`
|
||||||
DIFF=`which diff 2> /dev/null`
|
DIFF=`which diff 2> /dev/null`
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
|
|
Loading…
Reference in New Issue