/usr/bin/liferea-add-feed is in liferea 1.10.3-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
# This script can be used to automatically add
# subscriptions to Liferea. Just supply a valid
# and correctly escaped feed URL as parameter.
if [ $# -ne 1 ]; then
echo "Wrong parameter count!"
echo ""
echo "Syntax: $0 <feed URL>"
echo ""
exit 1
fi
URL=$1
if ! pgrep -x liferea >/dev/null 2>&1; then
echo "Liferea is not running! You need to start it first."
exit 1
fi
/usr/bin/liferea --add-feed "$URL"
|