Skip to content

Commit

Permalink
catch dangling symlinks at crackle remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Apr 15, 2024
1 parent 701c33f commit 6565ba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crackle
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ APT_CACHE="apt-cache -o Dir::Cache=$APTCACHE -o Dir::State=$APTSTATE -o Dir::Etc
find "$PKG_PREFIX/bin" -xtype l -exec rm {} +;
sudo_run "find $SUDO_BIN -xtype l -exec rm {} +";
sudo_run "find $SUDO_CONFIG -xtype l -exec rm {} +";
find "${XDG_DATA_HOME:-$HOME/.local/share}" -xtype l -exec rm {} + 2> /dev/null;
find "$CRACKLECMP" -xtype l -exec rm {} +;
sudo -K;
say "Done";
Expand Down

0 comments on commit 6565ba6

Please sign in to comment.