File: postinst

package info (click to toggle)
fmirror 1%3A0.8.4beta-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 196 kB
  • ctags: 186
  • sloc: ansic: 2,300; makefile: 56; sh: 46
file content (10 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ -f /etc/cron.daily/fmirror ]; then
    TMPFILE=`tempfile`
    echo "cron scheme has changed. Moving away /etc/cron.daily/fmirror"
    echo "to $TMPFILE"
    mv /etc/cron.daily/fmirror $TMPFILE
fi

# postinst ends here