From 00af4f40ec8d79f75363d0beccdfd878e20ba3a8 Mon Sep 17 00:00:00 2001 From: David Baird Date: Mon, 12 Aug 2013 19:28:37 -0600 Subject: [PATCH 1/2] Delete preinstall.sh linux-tick-processor.py isn't used anymore. Dropping the preinstall script altogether. --- scripts/preinstall.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 scripts/preinstall.sh diff --git a/scripts/preinstall.sh b/scripts/preinstall.sh deleted file mode 100755 index 2155c8d..0000000 --- a/scripts/preinstall.sh +++ /dev/null @@ -1,19 +0,0 @@ -PLATFORM=`uname` -if [ "$PLATFORM" = "Darwin" ] -then - if [ -z "$(locate mac-tick-processor)" ] - then - echo "Couldn't find mac-tick-processor" - exit 1 - fi -elif [ "$PLATFORM" = "Linux" ] -then - if [ -z "$(locate linux-tick-processor.py)" ] - then - echo "Couldn't find linux-tick-processor.py" - exit 1 - fi -else - echo "Unknown platform" -fi - From 83617f4953d29197fbe8d893e25ca99393706c90 Mon Sep 17 00:00:00 2001 From: David Baird Date: Mon, 12 Aug 2013 19:31:10 -0600 Subject: [PATCH 2/2] Removing preinstall script from package.json. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 5a9e717..8a930af 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,5 @@ "version": "0.0.10", "author" : "Mathias Pettersson ", "bin": { "nodeprofile": "./bin/nodeprofile" }, - "engines": { "node": ">= 0.2.0" }, - "scripts" : { "preinstall" : "./scripts/preinstall.sh" } + "engines": { "node": ">= 0.2.0" } }