Remove: grss.sh
Former-commit-id: ee8588e56d5729aa941ca98632d7f0a341e135fe
This commit is contained in:
parent
076d67db50
commit
b3d62df3c0
34
grss.sh
34
grss.sh
@ -1,34 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
FEED_TITLE="Jitty Scripts"
|
|
||||||
FEED_URL="http://gitbutter.pw/feed/jitty-scripts.git"
|
|
||||||
RSS_READER="rsstail"
|
|
||||||
READER_OPTS="-1 -u"
|
|
||||||
|
|
||||||
# Colors
|
|
||||||
RED='\033[0;31m'
|
|
||||||
LRED="\033[1;31m"
|
|
||||||
BLUE="\033[0;34m"
|
|
||||||
LBLUE="\033[1;34m"
|
|
||||||
GREEN="\033[0;32m"
|
|
||||||
LGREEN="\033[1;32m"
|
|
||||||
YELLOW="\033[1;33m"
|
|
||||||
CYAN="\033[0;36m"
|
|
||||||
LCYAN="\033[1;36m"
|
|
||||||
PURPLE="\033[0;35m"
|
|
||||||
LPURPLE="\033[1;35m"
|
|
||||||
BWHITE="\e[1m"
|
|
||||||
NC='\033[0m' # No Color
|
|
||||||
|
|
||||||
if [ -f /usr/bin/${RSS_READER} ];then
|
|
||||||
printf "${LCYAN}Fetching feed for: ${FEED_TITLE}${NC}\n"
|
|
||||||
if [ "${RSS_READER}" = "rsstail" ];then
|
|
||||||
|
|
||||||
rsstail ${READER_OPTS} ${FEED_URL}
|
|
||||||
else
|
|
||||||
${RSS_READER} ${READER_OPTS}
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "${RSS_READER} is not installed"
|
|
||||||
fi
|
|
Loading…
x
Reference in New Issue
Block a user