summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/resources/chrome-profile
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-01-15 20:33:52 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-01-15 20:33:52 +0100
commit37c3b476429355c346944e5caffac53f60a9e147 (patch)
tree94208cf9bcbed1faf0ef66e215fcd341312da57b /packages/gwt-chromium/resources/chrome-profile
parent516457ab00963e56fea49893a07972604a247855 (diff)
downloaddebian-packages-37c3b476429355c346944e5caffac53f60a9e147.tar.gz
debian-packages-37c3b476429355c346944e5caffac53f60a9e147.zip
gwt-chromium: make it working with some hacks
Diffstat (limited to 'packages/gwt-chromium/resources/chrome-profile')
-rwxr-xr-xpackages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent5
-rwxr-xr-xpackages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile9
2 files changed, 9 insertions, 5 deletions
diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
index c0b2ef1..37dae28 100755
--- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
+++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
@@ -8,5 +8,6 @@ fi
chmod -R u+w "$profile"
LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \
"$HERE"/../chrome-linux/chrome \
- --auth-server-whitelist="*cern.ch" \
- --disable-setuid-sandbox --user-data-dir="$profile" $*
+ --auth-server-whitelist="*cern.ch" \
+ --disable-setuid-sandbox \
+ --user-data-dir="$profile" $*
diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
index 99f2a21..ec39c1d 100755
--- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
+++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
@@ -10,7 +10,10 @@ test -e "$persistent_profile/Default/Bookmarks" && \
cp "$persistent_profile/Default/Bookmarks" "$tmp_profile/Default/Bookmarks"
LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \
- "$HERE/../chrome-linux/"/chrome \
- --auth-server-whitelist="*cern.ch" \
- --disable-setuid-sandbox --user-data-dir="$tmp_profile" $*
+ "$HERE"/../chrome-linux/chrome \
+ --auth-server-whitelist="*cern.ch" \
+ --disable-setuid-sandbox \
+ --user-data-dir="$tmp_profile" $*
+
+# delete temporary profile after exit
rm -r "$tmp_profile"