pika-hyprland-desktop/pika-kde-desktop/debian/postinst

20 lines
582 B
Plaintext
Raw Normal View History

2023-05-25 18:36:20 +02:00
#!/bin/bash
2023-02-23 21:04:19 +01:00
set -e
2023-05-25 18:36:20 +02:00
if [[ ! -f /usr/bin/kreadconfig ]]
then
ln -s /usr/bin/kreadconfig5 /usr/bin/kreadconfig
fi
2023-02-23 21:04:19 +01:00
2023-05-25 18:36:20 +02:00
if [[ ! -f /usr/share/applications/org.kde.discover.desktop ]]
2023-05-25 20:25:53 +02:00
then
2023-05-25 18:36:20 +02:00
ln -s /usr/share/applications/mintinstall.desktop /usr/share/applications/org.kde.discover.desktop
fi
if [[ ! -f /usr/share/applications/org.kde.discover.apt.urlhandler.desktop ]]
2023-05-25 20:25:53 +02:00
then
2023-05-25 18:36:20 +02:00
ln -s /usr/share/applications/mintinstall.desktop /usr/share/applications/org.kde.discover.apt.urlhandler.desktop
fi
2023-05-29 20:52:17 +02:00
sed -e '/NotShowIn/ s/^#*/#/' -i file /usr/share/applications/gdebi.desktop || true