Skip to content

Commit

Permalink
fix: unlink earlier if possible (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Jul 9, 2024
1 parent 54ba1b2 commit 23c5740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pacup
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ sub main ($pkg) {
system $srcinfo_script, "write", ($ppath_tmp);
copy $srcinfo_tmp, $srcinfo
or throw "Could not copy $srcinfo_tmp to $srcinfo: $!";
unlink $tmp_distrolist;

if ( -x '/usr/bin/pacstall' ) {
info "Installing from $pacscript";
Expand Down

0 comments on commit 23c5740

Please sign in to comment.