mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-28 19:21:04 +03:00
Create uninstall.sh
This commit is contained in:
11
uninstall.sh
Normal file
11
uninstall.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
readonly INSTALL_PATH="/root/.scripts"
|
||||
readonly USER_NAME="$(logname)"
|
||||
readonly USER_HOME=$(sudo -u $USER_NAME sh -c 'echo $HOME')
|
||||
|
||||
rm /etc/apt/apt.conf.d/99fix-opera
|
||||
rm /usr/share/libalpm/hooks/fix-opera.hook
|
||||
rm /etc/dnf/plugins/post-transaction-actions.d/fix-opera.action
|
||||
sed -i '/alias fix-opera/d' $USER_HOME/.bashrc
|
||||
rm -rf $INSTALL_PATH
|
||||
Reference in New Issue
Block a user