File: procmail.postinst

package info (click to toggle)
dotfile 2.2-1
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 4,596 kB
  • ctags: 456
  • sloc: tcl: 11,732; sh: 965; makefile: 304; csh: 13; ansic: 7
file content (17 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e
dotver=2.1
if [ ! -f /usr/X11R6/lib/X11/dotfile/procmail/bytecompile ]
	then
	echo " Byte compiling modules makes them run significantly faster"
	echo -n "Do you want to bytecompile this module now? (Y/n) ? "; read answer
	case $answer
	in
	N*|n*)
		echo "you can bytecompile this module later by typing:" 
		echo  "dotfile procmail bytecompile";; 
	*)
		/usr/bin/tclsh /usr/X11R6/lib/X11/dotfile/Generator/dotfile.tcl /usr/X11R6/lib/X11/dotfile/Generator /usr/X11R6/lib/X11/dotfile/procmail bytecompile ;;
	esac
fi
if [ -x /usr/bin/update-menus ] ; then update-menus ; fi