File: postinst

package info (click to toggle)
newsflash 0.99-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 272 kB
  • ctags: 114
  • sloc: ansic: 768; sh: 186; makefile: 66
file content (19 lines) | stat: -rw-r--r-- 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

ask_active_file()
{
	echo "I copied some examplefiles for configuration in
/etc/news/newsflash
Should I look for an active file from inn and use your newsgroups therefrom?
Please answer y or n
"
        read a
        case $a in
                y|Y) /usr/sbin/newsflashconfig;;
                n|N) exit 0 ;;
                *) ask_active_file;;
        esac
}

ask_active_file
exit 0