blob: ec39c1d6689be37e2a4a2e343dc3be6a016c1247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
HERE=`dirname "$0"`
persistent_profile="$HOME/.config/gwt-chrome"
tmp_profile=`mktemp -d`
cp -r "$HERE/../chrome-profile"/* "$tmp_profile"
chmod -R u+w "$tmp_profile"
# copy from persistent profile
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" $*
# delete temporary profile after exit
rm -r "$tmp_profile"
|