From: Silvio Rhatto Date: Sun, 13 Feb 2022 18:42:16 +0000 (-0300) Subject: Fix: coding style X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=50cc41656b2407b32518fefb4f6424fe8f09688a;p=stowpkg.git Fix: coding style --- diff --git a/README.md b/README.md index 92b88ac..9a5345a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ Stowpkg: ports system based on GNU Stow ======================================= -A portable, non-conflicting Unix package manager built atop of [GNU Stow](https://www.gnu.org/software/stow/). +A portable, non-conflicting Unix package manager built atop of [GNU +Stow](https://www.gnu.org/software/stow/). Features -------- @@ -54,8 +55,9 @@ Configuration Use `~/.config/stowpkg` do put any default parameters. Current supported params include -* `BASE`: defaults to `/tree/`, but can be configured to anything like - `/usr/local` with corresponding packages installed at `/usr/local/stow`. +* `BASE`: defaults to `/tree/`, but can be + configured to anything like `/usr/local` with corresponding packages + installed at `/usr/local/stow`. Filesystem layout ----------------- diff --git a/stowpkg b/stowpkg index bb2a14c..722326a 100755 --- a/stowpkg +++ b/stowpkg @@ -125,7 +125,7 @@ stowpkg_install () { echo "$BASENAME: package not found: $package" exit 1 fi - + if [ "`basename $location`" != "$package" ]; then echo "$BASENAME: package not found: $package" exit 1