Changeset 299 for quickinst/quickinst
- Timestamp:
- 01.07.2009 19:02:39 (13 months ago)
- File:
-
- 1 edited
-
quickinst/quickinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quickinst/quickinst
r287 r299 89 89 cd $cache 90 90 echo " · $1" 91 91 92 package=$(ls $1*.pkg.tar.gz 2>/dev/null | tail -1) 92 [ -f "$package" ] && { 93 tar xzf $package -C $target || 93 94 [ ! -f "$package" ] && 95 $wget $source/$1*.pkg.tar.gz || 94 96 exit 1 95 } || { 96 $wget $source/$1*.tar.gz && 97 tar xzf $1*.tar.gz -C $target || 98 exit 1 99 } 97 98 package=$(ls $1*.pkg.tar.gz | tail -1) 99 tar xzf $package -C $target || 100 exit 1 100 101 } 101 102 } … … 131 132 config="--config tmp/pacman.conf" 132 133 } 134 135 # sed -ie "s/#S/S/g" etc/pacman.d/mirrorlist 136 137 cp etc/pacman.d/mirrorlist etc/pacman.d/mirrorlist.original 138 tmp=$(echo $source | sed -e "s/current/\$repo/") 139 echo "Server = $tmp" > etc/pacman.d/mirrorlist 133 140 134 141 [ $on_arch ] && {
Note: See TracChangeset
for help on using the changeset viewer.

