pika-hyprland-desktop/pika-kde-desktop/debian/postinst
Ward Nakchbandi (Cosmic Fusion) 3dd5d22008
Add discover link
2023-05-25 19:36:20 +03:00

17 lines
487 B
Bash
Executable File

#!/bin/bash
set -e
if [[ ! -f /usr/bin/kreadconfig ]]
then
ln -s /usr/bin/kreadconfig5 /usr/bin/kreadconfig
fi
if [[ ! -f /usr/share/applications/org.kde.discover.desktop ]]
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 ]]
ln -s /usr/share/applications/mintinstall.desktop /usr/share/applications/org.kde.discover.apt.urlhandler.desktop
fi