diff options
Diffstat (limited to 'ship')
| -rw-r--r-- | ship/TODO | 4 | ||||
| -rw-r--r-- | ship/lib/punani | 5 | 
2 files changed, 4 insertions, 5 deletions
@@ -1,5 +1,3 @@  # punani -- error code should be false when package cannot be removed because it is not -  installed -- error code should be false when checking if a package is installed +- pacman cannot automagically remove packages diff --git a/ship/lib/punani b/ship/lib/punani index ea05a4ec..512c732c 100644 --- a/ship/lib/punani +++ b/ship/lib/punani @@ -70,14 +70,14 @@ punani(){          if punani_has $RES; then            info "$RES already installed, skipping"          else -          punani_install $RES || error "cannot install $RES with $PACKER" +          punani_install $RES || die "cannot install $RES with $PACKER"          fi          ;;        remove)          if ! punani_has $RES; then            info "$RES not installed, skipping"          else -          punani_remove $RES || error "cannot install $RES with $PACKER" +          punani_remove $RES || die "cannot install $RES with $PACKER"          fi          ;;        has) @@ -85,6 +85,7 @@ punani(){            info "$RES is installed"          else            info "$RES is not installed" +          exit 1          fi          ;;        owner)  | 
