File: createvirtualminmodule.sh

package info (click to toggle)
webmin-virtual-server 2.50-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,608 kB
  • ctags: 392
  • sloc: perl: 15,687; makefile: 95; sh: 8
file content (10 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ "$1" = "" -o "$2" = "" ]; then
	echo "usage: createmodule.sh <version> <file>"
	exit 1
fi
cd /usr/local/webadmin
/usr/local/webadmin/create-module.pl $2 virtual-server/$1
/usr/local/webadmin/showchangelog.pl --html latest virtual-server >/home/jcameron/webmin.com/vchanges-$1.html
echo "<a href=vchanges-$1.html>Change log for latest $1 development version of Virtualmin.</a>" >/home/jcameron/webmin.com/vchangelog-latest.html