Revert to shell logic until openpkg(1) is ready for prime time on SVR5.

Fri, 03 Aug 2012 16:08:09 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 16:08:09 +0200
changeset 460
a0aab3b7ac97
parent 459
b12dc513f7b7
child 461
09d8a3107646

Revert to shell logic until openpkg(1) is ready for prime time on SVR5.

openpkg/openpkg.spec file | annotate | diff | comparison | revisions
     1.1 --- a/openpkg/openpkg.spec	Fri Aug 03 15:56:30 2012 +0200
     1.2 +++ b/openpkg/openpkg.spec	Fri Aug 03 16:08:09 2012 +0200
     1.3 @@ -3084,11 +3084,11 @@
     1.4                      ( echo "#!/bin/sh"
     1.5                        echo "(   echo \"# <OpenPKG prefix=$prefix pkg=openpkg>\""
     1.6                        echo "    echo \"# chronological tasks of ${prefix} OpenPKG hierarchy\""
     1.7 -                      echo "    echo \"0          0  1  *  *  [ -f ${prefix}/bin/openpkg ] && ${prefix}/bin/openpkg rc cron monthly\""
     1.8 -                      echo "    echo \"0          0  *  *  0  [ -f ${prefix}/bin/openpkg ] && ${prefix}/bin/openpkg rc cron weekly\""
     1.9 -                      echo "    echo \"0          0  *  *  *  [ -f ${prefix}/bin/openpkg ] && ${prefix}/bin/openpkg rc cron daily\""
    1.10 -                      echo "    echo \"0          *  *  *  *  [ -f ${prefix}/bin/openpkg ] && ${prefix}/bin/openpkg rc cron hourly\""
    1.11 -                      echo "    echo \"0,15,30,45 *  *  *  *  [ -f ${prefix}/bin/openpkg ] && ${prefix}/bin/openpkg rc cron quarterly\""
    1.12 +                      echo "    echo \"0          0  1  *  *  [ -f ${prefix}/etc/rc ] && ${prefix}/etc/rc rc cron monthly\""
    1.13 +                      echo "    echo \"0          0  *  *  0  [ -f ${prefix}/etc/rc ] && ${prefix}/etc/rc rc cron weekly\""
    1.14 +                      echo "    echo \"0          0  *  *  *  [ -f ${prefix}/etc/rc ] && ${prefix}/etc/rc rc cron daily\""
    1.15 +                      echo "    echo \"0          *  *  *  *  [ -f ${prefix}/etc/rc ] && ${prefix}/etc/rc rc cron hourly\""
    1.16 +                      echo "    echo \"0,15,30,45 *  *  *  *  [ -f ${prefix}/etc/rc ] && ${prefix}/etc/rc rc cron quarterly\""
    1.17                        echo "    echo \"# </OpenPKG>\""
    1.18                        echo ") >>\$1"
    1.19                      ) >$EDITOR

mercurial