index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2009-11-15 20:24:24 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-01-19 21:56:00 -0600 |
commit | 0c3f5020645ab5ab28113322e33abdeeb2b34a63 (patch) | |
tree | 692b7306e54e898903b03cb6785be62d802701cc /contrib | |
parent | a12ed63545ee16d37da2b28bbf4c1820bd367315 (diff) |
-rwxr-xr-x | contrib/bacman | 4 |
diff --git a/contrib/bacman b/contrib/bacman index 22940ecb..dfd53e8b 100755 --- a/contrib/bacman +++ b/contrib/bacman @@ -21,7 +21,7 @@ # readonly progname="bacman" -readonly progver="0.2.0" +readonly progver="0.2.1" # # User Friendliness @@ -137,7 +137,7 @@ while read i; do bsdtar -cnf - "/$i" 2> /dev/null | bsdtar -xpf - # Workaround to bsdtar not reporting a missing file as an error - if [ ! -e "$work_dir/$i" ] && [ -L "$work_dir/$i"]; then + if [ ! -e "$work_dir/$i" -a ! -L "$work_dir/$i" ]; then echo "" echo "ERROR: unable to add /$i to the package" echo " If your user does not have permssion to read this file then" |