Closed GoogleCodeExporter closed 9 years ago
patch:
--- arch-bootstrap.sh 2010-02-17 20:54:42.000000000 +0100
+++ /arch-bootstrap.sh 2010-02-24 13:47:03.929634165 +0100
@@ -95,7 +95,18 @@
fetch "$REPO/$FILE"
}
debug "uncompress package: $FILE"
- tar xzf "$FILE" -C "$DEST"
+ case $FILE in
+ *.gz)
+ tar xzf "$FILE" -C "$DEST" ;
+ ;;
+ *.xz)
+ tar xf "$FILE" --xz -C "$DEST" ;
+ ;;
+ *)
+ debug "unknown package format" ;
+ exit 1 ;
+ ;;
+ esac
done
debug "configure DNS and pacman"
Original comment by andrej.g...@googlemail.com
on 24 Feb 2010 at 11:48
pacman depend now on expat, pleas add to BASIC_PACKAGES
Original comment by andrej.g...@googlemail.com
on 24 Feb 2010 at 11:58
r227 r228 r229
Thanks for your report. I've included your fixes and refactored the code a
little bit,
please check it.
Original comment by tokland
on 25 Feb 2010 at 3:09
http://code.google.com/p/tokland/source/browse/trunk/archlinux/arch-bootstrap.sh
?
spec=svn229&r=229#112
test -f "$FILE" && gunzip -q -t "$FILE" || {
this check work not correct for .xz packages.
Original comment by andrej.g...@googlemail.com
on 26 Feb 2010 at 12:56
Indeed, it was download .xz files all over again. Check r231
Original comment by tokland
on 26 Feb 2010 at 1:21
Original issue reported on code.google.com by
andrej.g...@googlemail.com
on 24 Feb 2010 at 11:36