summarylogtreecommitdiffstats
path: root/set_locations.patch
blob: 62381b1d403382ca3df2106415d85101cd1de946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: install.sh
===================================================================
--- install.sh   2017-06-02 18:53:23.000000000 +0200
+++ install.sh   2017-06-07 07:40:34.624734338 +0200
@@ -114,8 +114,8 @@
     ONEFLOW_LOCATION="$LIB_LOCATION/oneflow"
     SYSTEM_DS_LOCATION="$VAR_LOCATION/datastores/0"
     DEFAULT_DS_LOCATION="$VAR_LOCATION/datastores/1"
-    RUN_LOCATION="/var/run/one"
-    LOCK_LOCATION="/var/lock/one"
+    RUN_LOCATION="/run/one"
+    LOCK_LOCATION="/run/lock/one"
     INCLUDE_LOCATION="/usr/include"
     SHARE_LOCATION="/usr/share/one"
     MAN_LOCATION="/usr/share/man/man1"

@@ -1918,7 +1918,8 @@

 if [ "$UNINSTALL" = "no" ] ; then
     for d in $CHOWN_DIRS; do
-        chown -R $ONEADMIN_USER:$ONEADMIN_GROUP $DESTDIR$d
+        :
+        #chown -R $ONEADMIN_USER:$ONEADMIN_GROUP $DESTDIR$d
     done
 else
     for d in `echo $DELETE_DIRS | awk '{for (i=NF;i>=1;i--) printf $i" "}'`; do