1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

x11/gdm: use pkg-message to show message on remove

This commit is contained in:
Baptiste Daroussin 2022-07-27 14:57:44 +02:00
parent 9833cc142d
commit 5b77ae0136
3 changed files with 11 additions and 13 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= gdm
PORTVERSION= 42.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome

View File

@ -1,12 +0,0 @@
#!/bin/sh
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

View File

@ -6,6 +6,16 @@ GDM is installed.
Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm
hanging or restarting constantly. Instead, add gdm_enable="YES" to
/etc/rc.conf. GDM will be started automatic on the next reboot.
EOM
},
{ type: remove
message: <<EOM
To really remove the gdm port, please remove the following
directories manualy:
/var/cache/gdm /var/gdm /var/log/gdm and /var/run/gdm
EOM
}
]