Skip to content

Commit

Permalink
fix lpkg syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
niaow committed Nov 22, 2017
1 parent 9124f04 commit efcbec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ infoval() {

# fetch and verify package info
fetchinfo() {
if [ ( -e "$LPKGDIR/db/$1/pkginfo.sh" ) -a ( "$UPDATE" -ne 1 ) ]; then
if [ -e "$LPKGDIR/db/$1/pkginfo.sh" -a "$UPDATE" -ne 1 ]; then
cp "$LPKGDIR/db/$1/pkginfo.sh" "$tmpdir/$1.pkginfo" || return $?
else
fetch "$REPO" "pkgs/$1.pkginfo" "$tmpdir/$1.pkginfo" || return $?
Expand Down

0 comments on commit efcbec1

Please sign in to comment.