Explorar el Código

fix xup so it should also delete unused .sig files

Noah Vogt hace 1 año
padre
commit
848aca523f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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