LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openqrm-requirement.patch of Package openQRM (Project home:worldcitizen)

diff -Naur openqrm-4.5-old//src/plugins/citrix/Makefile openqrm-4.5/src/plugins/citrix/Makefile
--- openqrm-4.5-old//src/plugins/citrix/Makefile	2009-06-18 12:26:49.000000000 +0200
+++ openqrm-4.5/src/plugins/citrix/Makefile	2009-10-13 22:05:27.000000000 +0200
@@ -8,7 +8,6 @@
 compile:
 
 install:
-	@whoami | grep root 1>/dev/null 2>&1 || (echo "Please run 'make install' as root" && exit 1)
 	. $(OPENQRM_SERVER_CONF) && mkdir -p $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix/etc
 	. $(OPENQRM_SERVER_CONF) && cp etc/openqrm* $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix/etc/
 	. $(OPENQRM_SERVER_CONF) && mkdir -p $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix/etc/init.d
@@ -29,7 +28,6 @@
 	. $(OPENQRM_SERVER_CONF) && chmod +x $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix/bin/*
 
 uninstall:
-	@whoami | grep root 1>/dev/null 2>&1 || (echo "Please run 'make uninstall' as root" && exit 1)
 	. $(OPENQRM_SERVER_CONF) && rm -rf $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix/*
 	. $(OPENQRM_SERVER_CONF) && rmdir $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/citrix
 
diff -Naur openqrm-4.5-old//src/plugins/windows/Makefile openqrm-4.5/src/plugins/windows/Makefile
--- openqrm-4.5-old//src/plugins/windows/Makefile	2009-03-01 18:22:13.000000000 +0100
+++ openqrm-4.5/src/plugins/windows/Makefile	2009-10-13 22:05:48.000000000 +0200
@@ -8,7 +8,6 @@
 compile:
 
 install:
-	@whoami | grep root 1>/dev/null 2>&1 || (echo "Please run 'make install' as root" && exit 1)
 	. $(OPENQRM_SERVER_CONF) && mkdir -p $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows/etc
 	. $(OPENQRM_SERVER_CONF) && cp etc/openqrm* $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows/etc/
 	. $(OPENQRM_SERVER_CONF) && mkdir -p $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows/etc/init.d
@@ -27,7 +26,6 @@
 	. $(OPENQRM_SERVER_CONF) && chmod +x $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows/bin/*
 
 uninstall:
-	@whoami | grep root 1>/dev/null 2>&1 || (echo "Please run 'make uninstall' as root" && exit 1)
 	. $(OPENQRM_SERVER_CONF) && rm -rf $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows/*
 	. $(OPENQRM_SERVER_CONF) && rmdir $(DESTINATION_DIR)$$OPENQRM_SERVER_BASE_DIR/openqrm/plugins/windows