diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 00:26:13 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 00:26:13 -0200 |
commit | 13decbbeca1f6dcd2caeef31be0311688528a613 (patch) | |
tree | 92bba5a9a2c14784d66cbb155584f26980e3fcf1 /share/hoarder/signal-cli/unix/linux/debian/install | |
parent | 86eb72957126b96534afcba25929fd83ff82b099 (diff) | |
download | trashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.gz trashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.bz2 |
Move signal-cli from hoarder to trashman
Diffstat (limited to 'share/hoarder/signal-cli/unix/linux/debian/install')
-rwxr-xr-x | share/hoarder/signal-cli/unix/linux/debian/install | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/share/hoarder/signal-cli/unix/linux/debian/install b/share/hoarder/signal-cli/unix/linux/debian/install deleted file mode 100755 index 48c5d76..0000000 --- a/share/hoarder/signal-cli/unix/linux/debian/install +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env sh -# -# Install signal-cli -# - -# Parameters -SHARE="$1" -LIB="$2" - -# Include basic functions -. $LIB/trashman/functions || exit 1 -. $LIB/trashman/debian || exit 1 - -# Requirements -trashman_apt_install_packages gradle - -# Go to working folder -mkdir -p $HOME/.local/share -cd $HOME/.local/share - -# Get the code -if [ -d "signal-cli" ]; then - cd signal-cli && git pull || exit 1 -else - git clone https://github.com/AsamK/signal-cli && cd signal-cli || exit 1 -fi - -# Build -./gradlew build -./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 -chmod +x signal-cli |