~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to src/liferea-add-feed.in

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
 
 
4
# This script can be used to automatically add 
 
5
# subscriptions to Liferea. Just supply a valid
 
6
# and correctly escaped feed URL as parameter.
 
7
 
 
8
if [ $# -ne 1 ]; then
 
9
        echo "Wrong parameter count!"
 
10
        echo ""
 
11
        echo "Syntax: $0 <feed URL>"
 
12
        echo ""
 
13
        exit 1
 
14
fi
 
15
 
 
16
URL=$1
 
17
 
 
18
if ! pgrep -x liferea >/dev/null 2>&1; then
 
19
        echo "Liferea is not running! You need to start it first."
 
20
        exit 1
 
21
fi
 
22
 
 
23
@prefix@/bin/liferea --add-feed "$URL"