Skip to content

Commit

Permalink
fix bug where remove subcommand tries to remove package called remove
Browse files Browse the repository at this point in the history
  • Loading branch information
niaow committed Nov 14, 2017
1 parent 73d40aa commit f8e85f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ elif [ "$1" == "update" ]; then
transact $pins || fail "Transaction failed" 3
tmpcleanup
elif [ "$1" == "remove" ]; then
shift
setup || fail "Failed to create temporary directory" 2
opins=$(cat "$LPKGDIR/pins.list") || fail "Failed to read pin list" 2
for i in $@; do
Expand Down

0 comments on commit f8e85f9

Please sign in to comment.