ob_hacky_slack: WARNING: You do not have /usr/local/bin/slack/slack.sh symlinked.
So I downloaded the script to /usr/local/bin/slack/slack.sh and created a symlink in /usr/bin to that file but when I run it I get:
WARNING: You do not have /usr/local/bin/slack/slack.sh symlinked.
ln: failed to create hard link '/usr/bin/slack': File exists
Also the ip.txt could not be created so I was forced to manually create that file.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 24 (24 by maintainers)
I’m going to close this issue for now. I think the original issue was solved. Any enhancement requests just let me know!
Made some updates, still need to merge your changes. Also added a Docker container
docker build -t slack .
then you can run like thisdocker run -it slack /bin/bash /slack.sh -c "#general" -u "steve" -i "dog" -a "Macbook Pro" -B "http://www.apple.com/" -p "Almost" -Z "Where are the new 2016 Macbook models" -s "ok" -T "Wow" -L "https://www.apple.com" -k "token"
Not a 100% the way I would want to be setup, but it works