aboutsummaryrefslogtreecommitdiff
path: root/lang/pm3-base/scripts/check_conflicts
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pm3-base/scripts/check_conflicts')
-rw-r--r--lang/pm3-base/scripts/check_conflicts18
1 files changed, 0 insertions, 18 deletions
diff --git a/lang/pm3-base/scripts/check_conflicts b/lang/pm3-base/scripts/check_conflicts
deleted file mode 100644
index 9b417494a187..000000000000
--- a/lang/pm3-base/scripts/check_conflicts
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-#
-# check_conflicts - Checks for an SRC modula-3-lib port
-# installed into the same PREFIX.
-
-portnames=$(pkg_info -aI | sed -n -e '/^modula-3-/s/[ ].*$//p')
-for port in ${portnames}; do
- prefixes=$(pkg_info -p ${port} |\
- sed -n -e 's/^[ ]*CWD to \([^ ]*\).*$/\1/p')
- for prefix in ${prefixes}; do
- if [ X${prefix} = X${PREFIX} ]; then
- echo "This port conflicts with your installed \"${port}\" port."
- echo "Please remove \"${port}\" before continuing."
- exit 1;
- fi
- done
-done
-exit 0