]> gitweb.fluxo.info Git - stowpkg.git/commitdiff
Fix: installation procedure
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Feb 2022 18:53:56 +0000 (15:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Feb 2022 18:53:56 +0000 (15:53 -0300)
stowpkg

diff --git a/stowpkg b/stowpkg
index 722326af1b6f0e489cfaa39e774d3a4ee01fa6d0..6b61adea6220a7232dbdb4fcfb046474ae5ffb97 100755 (executable)
--- 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