Date: Wed, 27 Jul 2022 12:58:33 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5b77ae013638 - main - x11/gdm: use pkg-message to show message on remove Message-ID: <202207271258.26RCwXUm042529@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b77ae013638f067fba35fcc5c7e5aa61d8c8188 commit 5b77ae013638f067fba35fcc5c7e5aa61d8c8188 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-07-27 12:57:44 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-07-27 12:58:18 +0000 x11/gdm: use pkg-message to show message on remove --- x11/gdm/Makefile | 2 +- x11/gdm/pkg-deinstall | 12 ------------ x11/gdm/pkg-message | 10 ++++++++++ 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 5bc084351f97..f0f034c75bd3 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -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 diff --git a/x11/gdm/pkg-deinstall b/x11/gdm/pkg-deinstall deleted file mode 100644 index adf6a3e9df6c..000000000000 --- a/x11/gdm/pkg-deinstall +++ /dev/null @@ -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 diff --git a/x11/gdm/pkg-message b/x11/gdm/pkg-message index b6d1e4e91f7d..d9ddfb60e1d4 100644 --- a/x11/gdm/pkg-message +++ b/x11/gdm/pkg-message @@ -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 } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207271258.26RCwXUm042529>