[Debian-live-changes] r1743 - in dists/trunk/live-webhelper: . debian
daniel at alioth.debian.org
daniel at alioth.debian.org
Fri May 25 19:10:11 UTC 2007
Author: daniel
Date: 2007-05-25 19:10:11 +0000 (Fri, 25 May 2007)
New Revision: 1743
Added:
dists/trunk/live-webhelper/debian/postrm
Modified:
dists/trunk/live-webhelper/Makefile
dists/trunk/live-webhelper/cron
dists/trunk/live-webhelper/debian/control
dists/trunk/live-webhelper/live-webhelper
Log:
Modified: dists/trunk/live-webhelper/Makefile
===================================================================
--- dists/trunk/live-webhelper/Makefile 2007-05-25 18:51:24 UTC (rev 1742)
+++ dists/trunk/live-webhelper/Makefile 2007-05-25 19:10:11 UTC (rev 1743)
@@ -1,4 +1,4 @@
-#!/usr/bin/make -f
+# Makefile
all: build
Modified: dists/trunk/live-webhelper/cron
===================================================================
--- dists/trunk/live-webhelper/cron 2007-05-25 18:51:24 UTC (rev 1742)
+++ dists/trunk/live-webhelper/cron 2007-05-25 19:10:11 UTC (rev 1743)
@@ -1,6 +1,6 @@
#!/bin/sh
-# live-webhelper - web-interface to make-live
+# live-webhelper - web-interface to live-helper
# Copyright (C) 2007 Richard Nelson <rjent at rjent.pair.com>
# Copyright (C) 2007 Daniel Baumann <daniel at debian.org>
#
@@ -37,7 +37,7 @@
touch /var/lock/live-webhelper.lock
# Cleanup old builds: cron should be run at least once per hour to take effect
-if ls "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`*
+if ls "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* &> /dev/null
then
rm -rf "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`*
@@ -123,7 +123,7 @@
mkdir -p "${DESTDIR}"/"${BUILD}"
# Creating mail
- if [ "${ERROR}" = "0" ]
+ if [ "${ERROR}" -eq "0" ]
then
sed -e "s/BUILD/${BUILD}/g" \
-e "s/EMAIL/${EMAIL}/" \
Modified: dists/trunk/live-webhelper/debian/control
===================================================================
--- dists/trunk/live-webhelper/debian/control 2007-05-25 18:51:24 UTC (rev 1742)
+++ dists/trunk/live-webhelper/debian/control 2007-05-25 19:10:11 UTC (rev 1743)
@@ -11,7 +11,16 @@
Package: live-webhelper
Architecture: all
Depends: live-helper
-Description: web-interface to make-live
- live-webhelper is a web-interface to build Debian Live systems.
+Description: Debian Live helper programs (web frontend)
+ Live-helper is a collection of programs that can be used to build Debian Live
+ system images. The philosophy behind live-helper is to provide a collection of
+ small, simple, and easily understood tools that can be used in your own program
+ to automate building of a Live system.
.
+ A typical program that uses live-helper will call several live-helper commands
+ in sequence. Live-helper commands are all named with a "lh_" prefix. Examples
+ of such a program that uses live-helper is make-live (included here).
+ .
Homepage: <http://debian-live.alioth.debian.org/>
+ .
+ This package contains the web frontend.
Added: dists/trunk/live-webhelper/debian/postrm
===================================================================
--- dists/trunk/live-webhelper/debian/postrm (rev 0)
+++ dists/trunk/live-webhelper/debian/postrm 2007-05-25 19:10:11 UTC (rev 1743)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ purge)
+ rm -f /var/log/live-webhelper*
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Property changes on: dists/trunk/live-webhelper/debian/postrm
___________________________________________________________________
Name: svn:executable
+ *
Modified: dists/trunk/live-webhelper/live-webhelper
===================================================================
--- dists/trunk/live-webhelper/live-webhelper 2007-05-25 18:51:24 UTC (rev 1742)
+++ dists/trunk/live-webhelper/live-webhelper 2007-05-25 19:10:11 UTC (rev 1743)
@@ -1,6 +1,6 @@
#!/bin/sh
-# live-webhelper - web-interface to make-live
+# live-webhelper - web-interface to live-helper
# Copyright (C) 2007 Richard Nelson <rjent at rjent.pair.com>
# Copyright (C) 2007 Daniel Baumann <daniel at debian.org>
#
More information about the Debian-live-changes
mailing list