diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-08-16 22:25:44 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-08-16 22:25:44 +0800 |
commit | da3fe2576da4996791c0e613f2b7fdd1c9321c13 (patch) | |
tree | 1cc3d47e92e756552986863d44ae75ed96b585f2 /x11/gdm3 | |
parent | 6dc64fc7759e4a8c5a90ae6b7b5278f102cc46de (diff) | |
download | marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar.gz marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar.bz2 marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar.lz marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar.xz marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.tar.zst marcuscom-ports-da3fe2576da4996791c0e613f2b7fdd1c9321c13.zip |
Don't remove /var files automaticly, add a message on deinstall which files
the user should remove if he choices so.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17035 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm3')
-rw-r--r-- | x11/gdm3/pkg-deinstall | 15 | ||||
-rw-r--r-- | x11/gdm3/pkg-plist | 8 |
2 files changed, 15 insertions, 8 deletions
diff --git a/x11/gdm3/pkg-deinstall b/x11/gdm3/pkg-deinstall new file mode 100644 index 000000000..6cb043cae --- /dev/null +++ b/x11/gdm3/pkg-deinstall @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +case $2 in +DEINSTALL) + echo "" + echo "To really remove the gdm port, please remove the following" + echo "directories manualy:" + echo "" + echo "/var/cache/gdm /var/gdm /var/log/gdm and /var/run/gdm" + echo "" + ;; +esac diff --git a/x11/gdm3/pkg-plist b/x11/gdm3/pkg-plist index 5697fffc0..b049933e1 100644 --- a/x11/gdm3/pkg-plist +++ b/x11/gdm3/pkg-plist @@ -276,14 +276,6 @@ share/pixmaps/nohost.png @dirrmtry etc/dm @dirrm etc/dconf/db/gdm.d/locks @dirrm etc/dconf/db/gdm.d -@dirrm etc/dconf/db/gdm -@dirrmtry share/log/gdm -@dirrmtry share/log -@unexec /bin/rm -rf /var/gdm 2>/dev/null || /usr/bin/true -@unexec /bin/rm -rf /var/log/gdm 2>/dev/null || /usr/bin/true -@unexec /bin/rm -rf /var/run/gdm 2>/dev/null || /usr/bin/true -@unexec rmdir /var/cache/gdm 2>/dev/null || /usr/bin/true -@unexec rmdir /var/cache 2>/dev/null || /usr/bin/true @dirrmtry share/locale/zu/LC_MESSAGES @dirrmtry share/locale/zu @dirrmtry share/locale/zh_HK/LC_MESSAGES |