Blame SOURCES/esc-1.1.0-fix25.patch

9ccdfb
diff -up ./esc/rpm/esc.fix25 ./esc/rpm/esc
9ccdfb
--- ./esc/rpm/esc.fix25	2015-01-05 16:42:52.346457096 -0800
9ccdfb
+++ ./esc/rpm/esc	2015-01-05 16:48:05.473230783 -0800
9ccdfb
@@ -18,10 +18,6 @@
9ccdfb
 # END COPYRIGHT BLOCK
9ccdfb
 
9ccdfb
 
9ccdfb
-
9ccdfb
-
9ccdfb
-DO_SECMODE="false"
9ccdfb
-SECURITY_URL=
9ccdfb
 DO_FORCEMODE="false"
9ccdfb
 DO_SHOW_VERSION="false"
9ccdfb
 ESC_ARGS=
9ccdfb
@@ -30,7 +26,7 @@ ESC_ARGS=
9ccdfb
 ESC_PROFILE_BASE=~/.redhat/esc
9ccdfb
 ESC_LOG_FILE=esc.log
9ccdfb
 
9ccdfb
-ESC_PATH=$LIBDIR/esc-1.0.1
9ccdfb
+ESC_PATH=$LIBDIR/esc-1.1.0
9ccdfb
 ESC_BIN_PATH=/usr/bin
9ccdfb
 ESC_EXEC=esc
9ccdfb
 ESCD_EXEC=escd
9ccdfb
@@ -97,30 +93,17 @@ function processArgs {
9ccdfb
             #echo "Do show version!"
9ccdfb
             DO_SHOW_VERSION="true"
9ccdfb
         fi
9ccdfb
-        if [ $DO_SECMODE == "true" ]
9ccdfb
-        then
9ccdfb
-            #echo "Sec Mode Url $arg"
9ccdfb
-            SECURITY_URL=$arg
9ccdfb
-        fi
9ccdfb
-        if [ $arg == "-secmode" ]
9ccdfb
-        then
9ccdfb
-            DO_SECMODE="true"
9ccdfb
-            #echo "Do security mode!"
9ccdfb
-        fi
9ccdfb
     done
9ccdfb
-
9ccdfb
-    if [ $DO_SECMODE == "true" ]
9ccdfb
-    then
9ccdfb
-        #echo "Launch ESC in security mode!"
9ccdfb
-        ARGS="--secmode $SECURITY_URL"
9ccdfb
-    fi
9ccdfb
 }
9ccdfb
 
9ccdfb
+
9ccdfb
 processArgs $*
9ccdfb
 
9ccdfb
 if [ ! -d $ESC_PROFILE_BASE ]
9ccdfb
 then
9ccdfb
     mkdir -p  $ESC_PROFILE_BASE
9ccdfb
+    mkdir  $ESC_PROFILE_BASE/$ESC_EXEC
9ccdfb
+    chmod -R 755 $ESC_PROFILE_BASE 
9ccdfb
 fi
9ccdfb
 
9ccdfb
 cd $ESC_PATH
9ccdfb
@@ -180,7 +163,6 @@ else
9ccdfb
     #echo "esc not already running start up and bring up window."
9ccdfb
     ./$ESC_EXEC & 
9ccdfb
     sleep 4
9ccdfb
-
9ccdfb
     #echo "done sleeping bring up esc window."
9ccdfb
     ./$ESC_EXEC
9ccdfb
     exit 0