Readme update, dnf hook fix

This commit is contained in:
Ld-Hagen
2021-10-26 21:57:14 +03:00
parent 52954635c8
commit 58be0f5c1c
3 changed files with 19 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ create_hook ()
printf 'Now the script will run automatically every time pacman installs or updates Opera.\n'
break;;
"3" )
dnf install python3-dnf-plugin-post-transaction-actions -y
cp -f $SCRIPT_PATH/scripts/fix-opera.action $INSTALL_PATH
ln -sf $INSTALL_PATH/fix-opera.action /etc/dnf/plugins/post-transaction-actions.d/
printf 'Now the script will run automatically every time dnf installs or updates Opera.\n'