summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/nxnode/files/nxnode-2.1.0-setup.patch')
-rw-r--r--net-misc/nxnode/files/nxnode-2.1.0-setup.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/net-misc/nxnode/files/nxnode-2.1.0-setup.patch b/net-misc/nxnode/files/nxnode-2.1.0-setup.patch
deleted file mode 100644
index 3438234..0000000
--- a/net-misc/nxnode/files/nxnode-2.1.0-setup.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- scripts/setup/nxnode.orig 2006-11-05 13:37:07.000000000 +0000
-+++ scripts/setup/nxnode 2006-11-05 16:02:31.000000000 +0000
-@@ -1167,7 +1167,9 @@
- then
- runCommand "$RMCOMMAND -f /etc/rc0.d/K01nxsensor" "Unable to remove '/etc/rc0.d/K01nxsensor'" "warn"
- fi
--
-+ elif [ "$system" = "gentoo" ]; then
-+ # do nothing; this is handled by Gentoo ebuild
-+ echo > /dev/null
- else
- if [ -h /etc/rc.d/rc3.d/S99nxsensor ];
- then
-@@ -1212,6 +1214,10 @@
-
- addNXinit () {
-
-+ if [ "$system" = "gentoo" ] ; then
-+ return;
-+ fi
-+
- runCommand "cat /usr/NX/scripts/init/nxsensor > /etc/init.d/nxsensor" "Unable to create: '/etc/init.d/nxsensor'" "warn"
- runCommand "chmod +x /etc/init.d/nxsensor" "Cannot set permissions of '/etc/init.d/nxsensor' file" "warn"
-
-@@ -1778,6 +1784,10 @@
- system=fedora
- fi
-
-+if [ -d /usr/portage ]; then
-+ system=gentoo
-+fi
-+
- if [ "x$system" = "x" -a -f /etc/release ];
- then
- system=solaris
-@@ -1812,6 +1822,7 @@
- "fedora" ) ;;
- "debian" ) ;;
- "solaris" ) ;;
-+ "gentoo" );;
- "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;;
- * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;;
- esac