Installation script, Arch hook

This commit is contained in:
Ld-Hagen
2021-09-25 22:03:43 +03:00
parent 7c5f5ffd5f
commit 7c750ca4ba
5 changed files with 102 additions and 33 deletions

2
scripts/99fix-opera Normal file
View File

@@ -0,0 +1,2 @@
DPkg::Pre-Invoke {"stat -c %Z /usr/lib/x86_64-linux-gnu/opera/opera > /tmp/opera.timestamp";};
DPkg::Post-Invoke {"if [ `stat -c %Z /usr/lib/x86_64-linux-gnu/opera/opera` -ne `cat /tmp/opera.timestamp` ]; then /root/.scripts/fix-opera.sh; fi; rm /tmp/opera.timestamp";};