diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | debian/changelog | 18 | ||||
-rwxr-xr-x | rhimport-rs | 6 |
3 files changed, 24 insertions, 3 deletions
@@ -45,10 +45,12 @@ install-bin: $(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 $(EXECUTABLE)-dn $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 $(EXECUTABLE)-wl $(DESTDIR)$(BINDIR) + $(INSTALL) -m 755 $(EXECUTABLE)-rs $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 $(EXECUTABLE)-create-id $(DESTDIR)$(BINDIR) @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE) @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-dn @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-wl + @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-rs install-share: $(INSTALL) -d $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE) @@ -64,6 +66,7 @@ remove-bin: rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE) rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-dn rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-wl + rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-rs rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-create-id remove-share: diff --git a/debian/changelog b/debian/changelog index 6674c91..f35b0ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,21 @@ +rhimport (0.3.7-4) unstable; urgency=low + + * refixed rhimport-rs + + -- Christian Pointner <equinox@helsinki.at> Sun, 20 Jan 2012 06:32:38 +0100 + +rhimport (0.3.7-3) unstable; urgency=low + + * fixed rhimport-rs + + -- Christian Pointner <equinox@helsinki.at> Sun, 20 Jan 2012 06:20:47 +0100 + +rhimport (0.3.7-2) unstable; urgency=low + + * fixed missing rhimport-rs file + + -- Christian Pointner <equinox@helsinki.at> Sun, 20 Jan 2012 05:57:13 +0100 + rhimport (0.3.7-1) unstable; urgency=low * new upstream release 0.3.7 diff --git a/rhimport-rs b/rhimport-rs index 26c8f4a..276d612 100755 --- a/rhimport-rs +++ b/rhimport-rs @@ -40,7 +40,7 @@ my $DBUSER = "rivendell"; my $DBPW = "lldriven"; my $DB = "rivendell"; -my $STAT_FILE = $ENV{'HOME'} . "/rhimport-wl.stat"; +my $STAT_FILE = $ENV{'HOME'} . "/rhimport-rs.stat"; my $RSS_URL = "http://cba.fro.at/seriesrss/197"; my @PV_SCRIPT = ('/usr/bin/ssh', 'root@intranet', 'addnote', '75'); my @PV_SCRIPT_REB = ('/usr/bin/ssh', 'root@intranet', 'addnote', '75'); @@ -136,11 +136,11 @@ for my $entry ($feed->entries) { } print "\n"; - push(@PV_SCRIPT, sprintf("%04d-%02d-%02d", $import_date_reb[0], $import_date_reb[1], $import_date_reb[2])); + push(@PV_SCRIPT_REB, sprintf("%04d-%02d-%02d", $import_date_reb[0], $import_date_reb[1], $import_date_reb[2])); ($reader, $writer, $error ) = ( new IO::Handle, new IO::Handle, new IO::Handle ); $writer->autoflush(1); local $SIG{CHLD} = 'DEFAULT'; - $pid = open3($writer, $reader, $error, @PV_SCRIPT); + $pid = open3($writer, $reader, $error, @PV_SCRIPT_REB); binmode($reader, ":utf8"); binmode($writer, ":utf8"); binmode($error, ":utf8"); |