Commit 5cb5aabe authored by phil's avatar phil

add an install oneliner

parent a453d3d6
......@@ -3,6 +3,15 @@ PubSub
A no fluff, no dependencies publish and subscribe command line utility written
in shell.
* Install
Since installing software by running unstrusted shell scripts from the
internet has become quite popular over the last years, here you are...
#+BEGIN_SRC shell
curl | bash
* Usage
** Publish
set -x
set -eIou pipefail
mkdir -p "${TARGET}"
FILES=(publish subscribe)
for FILE in "${FILES[@]}"; do
wget -O "${TARGET}/${FILE}" "${SOURCE}/$FILE"
chmod a+x "${TARGET}/${FILE}"
echo 'Happy pubsubing!'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment