aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/signal-cli
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 /share/hoarder/signal-cli
parent86eb72957126b96534afcba25929fd83ff82b099 (diff)
downloadtrashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.gz
trashman-13decbbeca1f6dcd2caeef31be0311688528a613.tar.bz2
Move signal-cli from hoarder to trashman
Diffstat (limited to 'share/hoarder/signal-cli')
-rw-r--r--share/hoarder/signal-cli/info1
-rwxr-xr-xshare/hoarder/signal-cli/unix/linux/debian/install37
2 files changed, 0 insertions, 38 deletions
diff --git a/share/hoarder/signal-cli/info b/share/hoarder/signal-cli/info
deleted file mode 100644
index 8f39dfb..0000000
--- a/share/hoarder/signal-cli/info
+++ /dev/null
@@ -1 +0,0 @@
-signal-cli provides a commandline and dbus interface for signal.org messenger
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