Browse Source

ajout de la gestion des erreurs

master
arpinux 1 year ago
parent
commit
5f04bf4fe8
  1. 5
      postinst
  2. 2
      prerm

5
postinst

@ -1,8 +1,9 @@
#!/bin/sh
set -e
mkdir -p /usr/local/share/applications/
if [ ! -e /usr/local/share/applications/gdebi.desktop ]
then
if [ ! -e /usr/local/share/applications/gdebi.desktop ]; then
ln -s /usr/share/gdebi-fixdesk/gdebi.desktop /usr/local/share/applications/
fi

2
prerm

@ -1,5 +1,7 @@
#!/bin/sh
set -e
if [ -h /usr/local/share/applications/gdebi.desktop ]; then
rm -f /usr/local/share/applications/gdebi.desktop
fi

Loading…
Cancel
Save