mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-28 19:21:04 +03:00
12 lines
355 B
Bash
12 lines
355 B
Bash
#!/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
|