mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
8 lines
267 B
Bash
Executable File
8 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
list=/var/lib/pacman/droiddeck-shared
|
|
[ -s "$list" ] || exit 0
|
|
mapfile -t packages < <(grep -xF -f "$list")
|
|
[ ${#packages[@]} -eq 0 ] && exit 0
|
|
echo "error: ${packages[*]} shares files with other DroidDeck software, so pacman can't remove it." >&2
|
|
exit 1
|