From 72c74abe2a01da02a16d6da832840589f484f80a Mon Sep 17 00:00:00 2001 From: rentzsch Date: Thu, 27 Aug 2009 23:23:08 -0500 Subject: [PATCH] Revert "oops, committed borked scripts, fixing them now" This reverts commit 8954394f47d570d67f2b2c3eea7ac4903a47c4c6. --- .../distribution-mpkg/resources/admin_privs_needed.command | 2 +- .../distribution-mpkg/resources/no_admin_privs_needed.command | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/distribution-mpkg/resources/admin_privs_needed.command b/Installer/distribution-mpkg/resources/admin_privs_needed.command index 938a0267..7f4192ce 100755 --- a/Installer/distribution-mpkg/resources/admin_privs_needed.command +++ b/Installer/distribution-mpkg/resources/admin_privs_needed.command @@ -9,7 +9,7 @@ GROUPS=`id -Gn $USER` rm -rf /tmp/ClickToFlash.webplugin -if [ -d /tmp/ClickToFlash.webplugin ]; then +if [ -d "/tmp/ClickToFlash.webplugin"]; then echo "we don't have privs to delete the existing temporary file, so we need admin privs to do so." exit 1 fi diff --git a/Installer/distribution-mpkg/resources/no_admin_privs_needed.command b/Installer/distribution-mpkg/resources/no_admin_privs_needed.command index 567409c3..1e39cef7 100755 --- a/Installer/distribution-mpkg/resources/no_admin_privs_needed.command +++ b/Installer/distribution-mpkg/resources/no_admin_privs_needed.command @@ -9,7 +9,7 @@ GROUPS=`id -Gn $USER` rm -rf /tmp/ClickToFlash.webplugin -if [ -d /tmp/ClickToFlash.webplugin ]; then +if [ -d "/tmp/ClickToFlash.webplugin"]; then echo "we don't have privs to delete the existing temporary file, so we will need admin privs to do so." exit 0 fi