Merge pull request 'reinstall-for-qt can only be run from pacman/pamac' (#10) from rokosun-patch-2 into main
Reviewed-on: #10
This commit is contained in:
commit
7901a99abb
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
parent_process=$(ps -p $PPID -o comm=)
|
||||||
|
[ "$parent_process" = 'pacman' ] || [ "$parent_process" = 'pamac-daemon' ] || exit
|
||||||
rm /var/lib/pacman/db.lck
|
rm /var/lib/pacman/db.lck
|
||||||
pacman --noconfirm -S qt5-styleplugins qt6gtk2
|
pacman --noconfirm -S qt5-styleplugins qt6gtk2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user