#!@l_prefix@/bin/openpkg rc ## ## rc.heise -- Run-Commands ## %config heise_enable="$openpkg_rc_def" heise_idx_numfiles="10" heise_idx_complevel="9" heise_url="ftp://ftp.heise.de/pub/ct/register/register.zip" %weekly -u @l_musr@ rcService heise enable yes || exit 0 # fetch new index data ( cd @l_prefix@/var/heise \ && @l_prefix@/bin/curl -s -o register.zip ${heise_url} \ && @l_prefix@/bin/shtool rotate -f \ -n ${heise_idx_numfiles} -s 0 \ -z ${heise_idx_complevel} -o @l_musr@ -g @l_mgrp@ -m 644 \ inhalt.frm \ && @l_prefix@/bin/unzip -jopC register.zip inhalt.frm \ >inhalt.frm 2>/dev/null || true )