5 lines
192 B
Bash
5 lines
192 B
Bash
#!/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 |