From 50cc41656b2407b32518fefb4f6424fe8f09688a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 13 Feb 2022 15:42:16 -0300 Subject: Fix: coding style --- README.md | 8 +++++--- stowpkg | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) 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 -- cgit v1.2.3