Commit d9c37d05 by Ruben Rodriguez

7.0/trisquel-desktop-common-data Removed postrm and preinst

parent c312f185
#!/bin/sh
item="/usr/bin/gnome-panel"
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" -o abort-upgrade = "$1" ]
then
[ -f "$item"".real" ] && dpkg-divert --package trisquel-desktop-common-data --remove --rename --divert "$item"".real" "$item"
fi
#!/bin/sh
item="/usr/bin/gnome-panel"
[ -f "$item"".real" ] && exit 0 || true
dpkg-divert --package trisquel-desktop-common-data --add --rename --divert "$item"".real" "$item"
cat << EOF > $item
#!/bin/sh
/usr/bin/gnome-panel.real --replace
EOF
chmod 755 $item
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment