summarylogtreecommitdiffstats
path: root/archlinux_user_install
blob: 13b559cffb24b25428babb0236e87880ff76c82a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

SRC_DIR="/opt/tresorit"
DST_DIR="$HOME/.local/share/tresorit"

mkdir -p $DST_DIR
cp $SRC_DIR/tresorit $DST_DIR
cp $SRC_DIR/tresorit.config $DST_DIR
cp $SRC_DIR/tresorit-cli $DST_DIR
cp $SRC_DIR/tresorit-daemon $DST_DIR
cp $SRC_DIR/libTresorit.so $DST_DIR
cp -r $SRC_DIR/fonts $DST_DIR

mkdir -p "$HOME/.local/share/applications"
cp /opt/tresorit/tresorit.desktop "$HOME/.local/share/applications/tresorit.desktop"
sed -i "s|\$HOME|$HOME|" "$HOME/.local/share/applications/tresorit.desktop"