[Debian-hebrew-package] r595 - /pkg/openoffice.org-ctl-he/trunk/debian/prerm
kaplan at users.alioth.debian.org
kaplan at users.alioth.debian.org
Tue Jun 19 21:04:36 UTC 2007
Author: kaplan
Date: Tue Jun 19 21:04:36 2007
New Revision: 595
URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=595
Log:
Fix prerm script
Modified:
pkg/openoffice.org-ctl-he/trunk/debian/prerm
Modified: pkg/openoffice.org-ctl-he/trunk/debian/prerm
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/openoffice.org-ctl-he/trunk/debian/prerm?rev=595&op=diff
==============================================================================
--- pkg/openoffice.org-ctl-he/trunk/debian/prerm (original)
+++ pkg/openoffice.org-ctl-he/trunk/debian/prerm Tue Jun 19 21:04:36 2007
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
-if [ "$1" = "configure" ] && [ -e /usr/lib/openoffice/program/unopkg ]; then
- /usr/lib/openoffice/program/unopkg remove --shared /usr/share/openoffice.org-ctl-he/openoffice.org-ctl-he.zip
+if ( [ "$1" = "remove" ] || [ "$1" = "upgrade" ] ) && [ -e /usr/lib/openoffice/program/unopkg ]; then
+ /usr/lib/openoffice/program/unopkg remove --shared openoffice.org-ctl-he.zip
fi
#DEBHELPER#
More information about the Debian-hebrew-package
mailing list