aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-11-12 00:26:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-11-12 00:26:13 -0200
commit13decbbeca1f6dcd2caeef31be0311688528a613 (patch)
tree92bba5a9a2c14784d66cbb155584f26980e3fcf1
parent86eb72957126b96534afcba25929fd83ff82b099 (diff)
downloadtrashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.gz
trashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.bz2
Move signal-cli from hoarder to trashman
-rw-r--r--share/trashman/signal-cli/info (renamed from share/hoarder/signal-cli/info)0
-rwxr-xr-xshare/trashman/signal-cli/unix/linux/debian/install (renamed from share/hoarder/signal-cli/unix/linux/debian/install)17
2 files changed, 11 insertions, 6 deletions
diff --git a/share/hoarder/signal-cli/info b/share/trashman/signal-cli/info
index 8f39dfb..8f39dfb 100644
--- a/share/hoarder/signal-cli/info
+++ b/share/trashman/signal-cli/info
diff --git a/share/hoarder/signal-cli/unix/linux/debian/install b/share/trashman/signal-cli/unix/linux/debian/install
index 48c5d76..cadc75a 100755
--- a/share/hoarder/signal-cli/unix/linux/debian/install
+++ b/share/trashman/signal-cli/unix/linux/debian/install
@@ -15,8 +15,9 @@ LIB="$2"
trashman_apt_install_packages gradle
# Go to working folder
-mkdir -p $HOME/.local/share
-cd $HOME/.local/share
+#mkdir -p $HOME/.local/share
+#cd $HOME/.local/share
+cd /usr/local/share
# Get the code
if [ -d "signal-cli" ]; then
@@ -30,8 +31,12 @@ fi
./gradlew installDist
# Create symlink to scripts
-mkdir -p $HOME/.local/bin
-cd $HOME/.local/bin
-ln -sf $HOME/.local/share/signal-cli/build/install/signal-cli/bin/signal-cli
-#echo "cd $HOME/.local/share/signal-cli/build/install/signal-cli/bin/signal-cli && ./signal-cli" > signal-cli
+#mkdir -p $HOME/.local/bin
+#cd $HOME/.local/bin
+#ln -sf $HOME/.local/share/signal-cli/build/install/signal-cli/bin/signal-cli
+##echo "cd $HOME/.local/share/signal-cli/build/install/signal-cli/bin/signal-cli && ./signal-cli" > signal-cli
+
+mkdir -p /usr/local/bin
+cd /usr/local/bin
+ln -sf /usr/local/share/signal-cli/build/install/signal-cli/bin/signal-cli
chmod +x signal-cli