Pārlūkot izejas kodu

fix xup so it should also delete unused .sig files

Noah Vogt 1 gadu atpakaļ
vecāks
revīzija
848aca523f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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