Compare commits
No commits in common. "d7a1e09a9ad62e3017709677e98e94a0932f9837" and "f64c7a04675895a7209cb6041bb142f1140fff5e" have entirely different histories.
d7a1e09a9a
...
f64c7a0467
10
alpm-hooks/reinstall-for-qt5.hook
Normal file
10
alpm-hooks/reinstall-for-qt5.hook
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation = Upgrade
|
||||||
|
Type = Package
|
||||||
|
Target = qt5-base
|
||||||
|
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Reinstalling needed packages for theming QT applications...
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/reinstall-for-qt5
|
10
alpm-hooks/reinstall-for-qt6.hook
Normal file
10
alpm-hooks/reinstall-for-qt6.hook
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation = Upgrade
|
||||||
|
Type = Package
|
||||||
|
Target = qt6-base
|
||||||
|
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Reinstalling needed packages for theming QT applications...
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/reinstall-for-qt6
|
5
bin/standalone/reinstall-for-qt5
Executable file
5
bin/standalone/reinstall-for-qt5
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
parent_process=$(ps -p $PPID -o comm=)
|
||||||
|
[ "$parent_process" = 'pacman' ] || [ "$parent_process" = 'pamac-daemon' ] || exit
|
||||||
|
rm /var/lib/pacman/db.lck
|
||||||
|
pamac build --no-confirm qt5-styleplugins
|
5
bin/standalone/reinstall-for-qt6
Normal file
5
bin/standalone/reinstall-for-qt6
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
parent_process=$(ps -p $PPID -o comm=)
|
||||||
|
[ "$parent_process" = 'pacman' ] || [ "$parent_process" = 'pamac-daemon' ] || exit
|
||||||
|
rm /var/lib/pacman/db.lck
|
||||||
|
pamac build --no-confirm qt6gtk2
|
Loading…
Reference in New Issue
Block a user