[SCM] live-config branch, debian, updated. debian/2.0_a4-1-4-g04f964e
Daniel Baumann
daniel at debian.org
Sat Jun 5 12:17:10 UTC 2010
The following commit has been merged in the debian branch:
commit f9f08ff766193f2d83a8458a6701e93a3b65b2fb
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Jun 4 11:54:45 2010 +0200
Further generalizing example script and packaging for users own customized scripts.
diff --git a/examples/debian/changelog b/examples/debian/changelog
index 41e7642..ab53be2 100644
--- a/examples/debian/changelog
+++ b/examples/debian/changelog
@@ -1,5 +1,5 @@
-live-config-foo (1-1) unstable; urgency=low
+live-config-foobar (1-1) unstable; urgency=low
* Initial release.
- -- Daniel Baumann <daniel at debian.org> Sun, 16 May 2010 06:09:37 +0200
+ -- John Doe <john at example.org> Mon, 24 May 2010 09:14:49 +0200
diff --git a/examples/debian/control b/examples/debian/control
index 7fc0089..8c87c13 100644
--- a/examples/debian/control
+++ b/examples/debian/control
@@ -1,15 +1,18 @@
-Source: live-config-foo
+Source: live-config-foobar
Section: misc
Priority: optional
-Maintainer: Daniel Baumann <daniel at debian.org>
+Maintainer: John Doe <john at example.org>
Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.8.4
+Homepage: http://www.example.org/foobar/
+Vcs-Browser: http://git.example.org/?p=live-config-foobar.git
+Vcs-Git: git://git.example.org/git/live-config-foobar.git
-Package: live-config-foo
+Package: live-config-foobar
Architecture: all
Depends: ${misc:Depends}, live-config
-Description: Additional Configuration Scripts for Debian Live (foo)
+Description: Additional Configuration Scripts for Debian Live (foobar)
live-config contains the scripts needed to perform late-userspace actions
on Debian Live systems.
.
- This package contains the additional foo script(s).
+ This package contains the additional foobar script(s).
diff --git a/examples/debian/copyright b/examples/debian/copyright
index 0c57def..9c1404c 100644
--- a/examples/debian/copyright
+++ b/examples/debian/copyright
@@ -1,5 +1,5 @@
Files: *
-Copyright: (C) 2006-2010 Daniel Baumann <daniel at debian.org>
+Copyright: (C) 2010 John Doe <john at example.org>
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/examples/scripts/nnn-foobar b/examples/scripts/nnn-foobar
index a4d5dbc..5a9def5 100755
--- a/examples/scripts/nnn-foobar
+++ b/examples/scripts/nnn-foobar
@@ -1,34 +1,34 @@
#!/bin/sh
-# live-config(7) - System Configuration Scripts
-# Copyright (C) 2006-2010 Daniel Baumann <daniel at debian.org>
+# live-config-foobar(7) - Additional Configuration Scripts for Debian Live
+# Copyright (C) 2010 John Doe <john at example.org>
#
-# live-config comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+# live-config-foobar comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
-Foo ()
+Foobar ()
{
# Checking if package is installed or already configured
- if [ ! -e /var/lib/dpkg/info/foo.list ] || \
- [ -e /var/lib/live/config/foo ]
+ if [ ! -e /var/lib/dpkg/info/foobar.list ] || \
+ [ -e /var/lib/live/config/foobar ]
then
return
fi
- echo -n " foo"
+ echo -n " foobar"
- Configure_foo
+ Configure_foobar
}
-Configure_foo ()
+Configure_foobar ()
{
# Checking if package is already configured
sleep 1
# Boot parameters can be acted up either this way...
- if ! grep -qs "live-helper.foo" /proc/cmdline
+ if ! grep -qs "live-helper.foobar" /proc/cmdline
then
return
fi
@@ -37,17 +37,17 @@ Configure_foo ()
for _PARAMETER in $(cat /proc/cmdline)
do
case "${_PARAMETER}" in
- live-config.foo=*)
- LIVE_FOO="${_PARAMETER#live-config.foo=}"
+ live-config.foobar=*)
+ LIVE_FOOBAR="${_PARAMETER#live-config.foobar=}"
;;
esac
done
- # Configuring foo
+ # Configuring foobar
sleep 1
# Creating state file
- touch /var/lib/live/config/foo
+ touch /var/lib/live/config/foobar
}
-Foo
+Foobar
--
live-config
More information about the debian-live-changes
mailing list