Skip to content

Commit 19cea55

Browse files
committed
fixes minor quirk in PiOS deb perm script (Issue #1922) [skip ci]
1 parent 53a0970 commit 19cea55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/debian/DEBIAN/prerm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ xdg-mime uninstall /usr/share/artisan/artisan-wg.xml
5050

5151
case "$1" in
5252
remove|upgrade)
53-
if dpkg-query -W xdg-utils 2>&1 >/dev/null;
53+
if dpkg-query -W xdg-utils | awk '{print $2}' 2>&1 >/dev/null;
5454
then clear_mime;
5555
fi
5656
;;

0 commit comments

Comments
 (0)