git: 28a3750dcd86 - main - Tools/scripts/rmport: remind user when removing an electron port to update its USES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Sep 2026 18:45:07 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=28a3750dcd8638974c09d48b9fa38d4b437c3ae7
commit 28a3750dcd8638974c09d48b9fa38d4b437c3ae7
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-09-01 18:42:48 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-09-01 18:44:58 +0000
Tools/scripts/rmport: remind user when removing an electron port to update its USES
---
Tools/scripts/rmport | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 26e0ad332418..8ad2f3a5df4b 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -463,6 +463,10 @@ for catport in $* ; do
fi
fi
+ if [ -z "${catport##devel/electron*}" ] ; then
+ echo "You are removing an electron port, do not forget to update Mk/uses/electron.mk"
+ fi
+
edit_MOVED ${catport}
edit_Makefile ${cat} ${port}