summaryrefslogtreecommitdiff
path: root/distro/ubuntu/preinst
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-12 05:44:22 -0300
committerPerberos <[email protected]>2011-11-12 05:44:22 -0300
commit490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495 (patch)
tree08ebf8aa34c22f672a074c0f7b6a73d159bb09a9 /distro/ubuntu/preinst
parent6a04ee4e4eecb96a2461012c435fbfec1187e9e0 (diff)
downloadpluma-490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495.tar.bz2
pluma-490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495.tar.xz
updating distro scripts
Diffstat (limited to 'distro/ubuntu/preinst')
-rwxr-xr-xdistro/ubuntu/preinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/distro/ubuntu/preinst b/distro/ubuntu/preinst
index d38cd063..56db60a5 100755
--- a/distro/ubuntu/preinst
+++ b/distro/ubuntu/preinst
@@ -2,5 +2,7 @@
pkgname=mate-text-editor
-/usr/sbin/mateconfpkg --uninstall ${pkgname}
+if [ -f /usr/sbin/mateconfpkg ]; then
+ /usr/sbin/mateconfpkg --uninstall ${pkgname}
+fi