You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
568 B

#!/bin/sh
xdg=$(xdg-user-dir DESKTOP)
src=/usr/share/applications
if [[ -f $src/Konversation.desktop ]]; then
install -Dm755 $src/Konversation.desktop \
$xdg/Konversation-artix-help.desktop
fi
if [[ -f /usr/bin/calamares ]]; then
install -Dm755 $src/calamares.desktop \
$xdg/calamares.desktop
fi
docs=/usr/share/doc/artix
for f in {Configuration,Installation,Migration,Troubleshooting}.pdf;do
ln -s $docs/$f $xdg/$f
done
if [[ -d /run/openrc ]];then
ln -s $docs/OpenRC.pdf $xdg/OpenRC.pdf
else
ln -s $docs/Runit.pdf $xdg/Runit.pdf
fi