Browse Source

Revert xz: try 2.

master
Andrius Štikonas 8 months ago
parent
commit
de5181ca3d
2 changed files with 10 additions and 10 deletions
  1. 2
    2
      pack
  2. 8
    8
      variables

+ 2
- 2
pack View File

@@ -44,9 +44,9 @@ for BRANCH in $BRANCHES; do
44 44
 		fi
45 45
 	done
46 46
 
47
-	if [ -f "$LCODE-$BRANCH.tar.xz" ]; then
47
+	if [ -f "$LCODE-$BRANCH.tar.bz2" ]; then
48 48
 	        echo "Removing old archive."
49
-	        rm -f "$LCODE-$BRANCH.tar.xz"
49
+	        rm -f "$LCODE-$BRANCH.tar.bz2"
50 50
 	fi
51 51
 
52 52
 	if [ ! $counter -eq 0 ]; then

+ 8
- 8
variables View File

@@ -26,14 +26,14 @@ LCODE="lt" # Language code. Only 1 language is supported.
26 26
 MDIR="mo"
27 27
 
28 28
 # Binaries. Don't forget to install them before usign these scripts.
29
-GIT=`which git 2> /dev/null`
30
-MSGFMT=`which msgfmt 2> /dev/null`
31
-MSGMERGE=`which msgmerge 2> /dev/null`
32
-MSGINIT=`which msginit 2> /dev/null`
33
-ISUTF8=`which isutf8 2> /dev/null`
34
-TAR=`which tar 2> /dev/null`
35
-BZIP=`which bzip2 2> /dev/null`
36
-DIFF=`which diff 2> /dev/null`
29
+GIT=$(which git 2> /dev/null)
30
+MSGFMT=$(which msgfmt 2> /dev/null)
31
+MSGMERGE=$(which msgmerge 2> /dev/null)
32
+MSGINIT=$(which msginit 2> /dev/null)
33
+ISUTF8=$(which isutf8 2> /dev/null)
34
+TAR=$(which tar 2> /dev/null)
35
+BZIP=$(which bzip2 2> /dev/null)
36
+DIFF=$(which diff 2> /dev/null)
37 37
 
38 38
 # Colors
39 39
 RED="\033[1;31m"

Loading…
Cancel
Save