Skip to content

Commit

Permalink
make crackle also clean up /root/
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Apr 18, 2024
1 parent e7347e5 commit 129d451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crackle
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ APT_CACHE="apt-cache -o Dir::Cache=$APTCACHE -o Dir::State=$APTSTATE -o Dir::Etc
[[ -n $desktopfiles ]] && rm ${PKG_PREFIX}/share/applications/crackle.*.desktop
sed -i '/cracklerc/d' $HOME/.bashrc
sed -i '/cracklerc/d' $HOME/.profile
sudo_run 'sed -i /PATH/d /root/.profile'
sudo_run 'sed -i /cracklerc/d /root/.profile'
find "$CRACKLECMP" -xtype l -exec rm {} +;
sudo -k
exit 0;
Expand Down

0 comments on commit 129d451

Please sign in to comment.