Ver Fonte

fix xup so it should also delete unused .sig files

Noah Vogt há 1 ano atrás
pai
commit
848aca523f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      local-bin/xup

+ 1 - 1
local-bin/xup

@@ -14,7 +14,7 @@ for file in "$@"; do
 
     for old_pkg in "$xdg_repo_path/$pkgname"*.pkg.tar.zst; do
         if [ -e "$old_pkg" ]; then
-            rm "$xdg_repo_path/$pkgname"*.pkg.tar.zst
+            rm "$xdg_repo_path/$pkgname"*.pkg.tar.zst*
             # TODO: broken, use another way to break out of inner loop
             # break
         fi