Skip to content

Commit

Permalink
uninstall: Support packages with multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejsil committed Jun 12, 2024
1 parent 5c12c4d commit 6d02b91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dipm
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ uninstall() {
mv "$new_installed_file" "$installed_file"

error_if_empty "$location" "error: '$pkg' is not installed" || return 1
rm "$location"

echo "$location" | xargs -d'\n' rm -r
}

update_no_check() {
Expand Down

0 comments on commit 6d02b91

Please sign in to comment.