index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/get-package-updates | 8 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 3c9bc1e..e698217 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -207,12 +207,8 @@ done | \ esac done -sort -u "${work_dir}/deletion-list.new" > \ - "${work_dir}/deletion-list.new.new" - -mv \ - "${work_dir}/deletion-list.new.new" \ - "${work_dir}/deletion-list.new" +sort -u "${work_dir}/deletion-list.new" | \ + sponge "${work_dir}/deletion-list.new" echo 'Extract dependencies of packages.' |