File tree Expand file tree Collapse file tree
tools/devcloud4/common/development-installation/files/default Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ uncompress() {
8787 ;;
8888 [zZ][iI][pP]) unzip -p $1 | cat > $tmpfile
8989 ;;
90+ XZ) xz -d -c $1 > $tmpfile
91+ ;;
9092 * ) printf " $1 "
9193 return 0
9294 ;;
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ uncompress() {
8888 ;;
8989 ZIP) unzip -p $1 | cat > $tmpfile
9090 ;;
91+ XZ) xz -d -c $1 > $tmpfile
92+ ;;
9193 * ) printf " $1 "
9294 return 0
9395 ;;
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ uncompress() {
6565 ;;
6666 [zZ][iI][pP]) unzip -p $1 | cat > $tmpfile
6767 ;;
68+ XZ) xz -d -c $1 > $tmpfile
69+ ;;
6870 * ) printf " $1 "
6971 return 0
7072 ;;
Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ uncompress() {
6666 ;;
6767 ZIP) unzip -p $1 | cat > $tmpfile
6868 ;;
69+ XZ) xz -d -c $1 > $tmpfile
70+ ;;
6971 * ) printf " $1 "
7072 return 0
7173 ;;
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ is_compressed() {
6363 ;;
6464 [zZ][iI][pP]) ctype=" zip"
6565 ;;
66+ XZ) ctype=" xz"
67+ ;;
6668 * ) echo " File $1 does not appear to be compressed" >&2
6769 return 1
6870 ;;
@@ -82,6 +84,8 @@ uncompress() {
8284 ;;
8385 [zZ][iI][pP]) unzip -q -p $1 | cat > $tmpfile
8486 ;;
87+ XZ) xz -d -c $1 > $tmpfile
88+ ;;
8589 * ) printf " $1 "
8690 return 0
8791 ;;
Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ is_compressed() {
8585 ;;
8686 ZIP) ctype=" zip"
8787 ;;
88+ XZ) ctype=" xz"
89+ ;;
8890 * ) echo " File $1 does not appear to be compressed" >&2
8991 return 1
9092 ;;
@@ -104,6 +106,8 @@ uncompress() {
104106 ;;
105107 ZIP) unzip -q -p $1 | cat > $tmpfile
106108 ;;
109+ XZ) xz -d -c $1 > $tmpfile
110+ ;;
107111 * ) printf " $1 "
108112 return 0
109113 ;;
Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ is_compressed() {
7575 ;;
7676 ZIP) ctype=" zip"
7777 ;;
78+ XZ) ctype=" xz"
79+ ;;
7880 * ) echo " File $1 does not appear to be compressed" >&2
7981 return 1
8082 ;;
@@ -94,6 +96,8 @@ uncompress() {
9496 ;;
9597 ZIP) unzip -q -p $1 | cat > $tmpfile
9698 ;;
99+ XZ) xz -d -c $1 > $tmpfile
100+ ;;
97101 * ) printf " $1 "
98102 return 0
99103 ;;
You can’t perform that action at this time.
0 commit comments