r2711 - dists/trunk/live-helper/helpers

matth-guest at alioth.debian.org matth-guest at alioth.debian.org
Mon Aug 6 09:15:49 UTC 2007


Author: matth-guest
Date: 2007-08-06 09:15:49 +0000 (Mon, 06 Aug 2007)
New Revision: 2711

Modified:
   dists/trunk/live-helper/helpers/lh_config
Log:
add version


Modified: dists/trunk/live-helper/helpers/lh_config
===================================================================
--- dists/trunk/live-helper/helpers/lh_config	2007-08-06 08:12:26 UTC (rev 2710)
+++ dists/trunk/live-helper/helpers/lh_config	2007-08-06 09:15:49 UTC (rev 2711)
@@ -24,7 +24,7 @@
 
 Local_arguments ()
 {
-	ARGUMENTS="`getopt --longoptions help:,usage:,apt:,apt-ftp-proxy:,apt-http-proxy:,apt-pdiffs:,apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,genisoimage:,initramfs:,losetup:,mode:,root-command:,tasksel:,includes:,templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,distribution:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,chroot-filesystem:,union-filesystem:,hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-images:,binary-indices:,bootappend:,bootloader:,chroot-build:,debian-installer:,encryption:,grub-splash:,hostname:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,iso-memtest:,net-filesystem:,net-mountoptions:,net-path:,net-server:,syslinux-splash:,username:,source:,source-images: --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:s:h:u --shell sh -- "${@}"`"
+	ARGUMENTS="`getopt --longoptions apt:,apt-ftp-proxy:,apt-http-proxy:,apt-pdiffs:,apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,genisoimage:,initramfs:,losetup:,mode:,root-command:,tasksel:,includes:,templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,distribution:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,chroot-filesystem:,union-filesystem:,hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-images:,binary-indices:,bootappend:,bootloader:,chroot-build:,debian-installer:,encryption:,grub-splash:,hostname:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,iso-memtest:,net-filesystem:,net-mountoptions:,net-path:,net-server:,syslinux-splash:,username:,source:,source-images:,help,usage,version --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:s:huv --shell sh -- "${@}"`"
 
 	if [ "${?}" != "0" ]
 	then
@@ -178,6 +178,11 @@
 				shift
 				;;
 
+			-v|--version)
+			 	Version
+				shift
+				;;
+
 			# config/bootstrap
 			-a|--architecture)
 				LH_ARCHITECTURE="${2}"




More information about the debian-live-changes mailing list