Skip to content

Commit

Permalink
pointless test
Browse files Browse the repository at this point in the history
  • Loading branch information
keenerd committed Nov 24, 2010
1 parent 227a2c1 commit c8064dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packer
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ aurbar() {
printf "%s%3s%%\r" ${endbar} ${perc}
}

# Download info in background
rpcinfo() {
if ! [[ -f "$tmpdir/$1.info" ]]; then
curl -fGs --data-urlencode "arg=$1" "$RPCURL=info" > "$tmpdir/$1.info"
Expand Down Expand Up @@ -536,8 +535,7 @@ if [[ $option = update ]]; then
for ((i=0; i<$total; i++)); do
pkg="${packages[i]%% *}"
ver="${packages[i]##* }"
if [[ -f "$tmpdir/$pkg.PKGBUILD" ]] && [[ ! -s "$tmpdir/$pkg.PKGBUILD" ]]; then
rm "$tmpdir/$pkg.PKGBUILD"
if [[ ! -s "$tmpdir/$pkg.PKGBUILD" ]]; then
continue
fi
if isignored "$pkg"; then
Expand Down

0 comments on commit c8064dc

Please sign in to comment.