diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 10:58:04 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-11-12 10:58:04 -0200 |
commit | 6f65519549c5b918b363775b24e62f9a4061e633 (patch) | |
tree | 5dab7d20580d06de5ae026564178e5f02c62dad5 /share | |
parent | 13decbbeca1f6dcd2caeef31be0311688528a613 (diff) | |
download | trashman-6f65519549c5b918b363775b24e62f9a4061e633.tar.gz trashman-6f65519549c5b918b363775b24e62f9a4061e633.tar.bz2 |
Adds signal-curses
Diffstat (limited to 'share')
-rw-r--r-- | share/trashman/signal-curses/info | 1 | ||||
-rwxr-xr-x | share/trashman/signal-curses/unix/linux/debian/install | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/share/trashman/signal-curses/info b/share/trashman/signal-curses/info new file mode 100644 index 0000000..1c3e128 --- /dev/null +++ b/share/trashman/signal-curses/info @@ -0,0 +1 @@ +curses-backed terminal interface for signal.org using signal-cli diff --git a/share/trashman/signal-curses/unix/linux/debian/install b/share/trashman/signal-curses/unix/linux/debian/install new file mode 100755 index 0000000..8ffc352 --- /dev/null +++ b/share/trashman/signal-curses/unix/linux/debian/install @@ -0,0 +1,34 @@ +#!/usr/bin/env sh +# +# Install signal-curses +# + +# Parameters +SHARE="$1" +LIB="$2" + +# Include basic functions +. $LIB/trashman/functions || exit 1 +. $LIB/trashman/debian || exit 1 + +# Requirements +#trashmaN install signal-cli +trashman_apt_install_packages libunixsocket-java python3-dbus python3-pip + +# Go to working folder +cd /usr/local/share + +# Get the code +if [ -d "signal-curses" ]; then + cd signal-curses && git pull || exit 1 +else + git clone https://github.com/jwoglom/signal-curses && cd signal-curses || exit 1 +fi + +# Build +pip3 install -r requirements.txt + +mkdir -p /usr/local/bin +cd /usr/local/bin +echo 'cd /usr/local/share/signal-curses && python3 main.py $*' > signal-curses +chmod +x signal-curses |