aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-02-13 15:53:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-02-13 15:53:56 -0300
commit5014f96eb2967c1cf5a7fe4c7971f2e48e5eb3ef (patch)
treee5536f3b0eb921d9b296b53233fdeda362e46cfc
parent50cc41656b2407b32518fefb4f6424fe8f09688a (diff)
downloadstowpkg-5014f96eb2967c1cf5a7fe4c7971f2e48e5eb3ef.tar.gz
stowpkg-5014f96eb2967c1cf5a7fe4c7971f2e48e5eb3ef.tar.bz2
Fix: installation procedure
-rwxr-xr-xstowpkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/stowpkg b/stowpkg
index 722326a..6b61ade 100755
--- a/stowpkg
+++ b/stowpkg
@@ -244,8 +244,10 @@ stowpkg_build () {
__stowpkg_cd $BINARIES
+ local installed="`stowpkg_list | xargs`"
+
if [ -d "${package}-${version}" ]; then
- stow ${package}-${version} || exit 1
+ stow ${installed} ${package}-${version} || exit 1
else
echo "$BASENAME: error building $package"
exit 1