This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 vup |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

New commits:
commit fd0fb55489cfc8128c1180aa00e9a5ad4838a3bb
Author: Todd Brandt <[EMAIL PROTECTED]>
Date:   Thu Sep 4 16:48:37 2008 -0700

    new vup script changes the moblin-settings.spec file version as well


Diff in this email is a maximum of 400 lines.
diff --git a/vup b/vup
index 48225d5..ba80c6c 100755
--- a/vup
+++ b/vup
@@ -1,6 +1,16 @@
 #! /bin/sh
 # Author Todd Brandt <[EMAIL PROTECTED]>
 
+if [ ! -e ChangeLog ]; then
+    echo "No ChangeLog found, need to be in moblin-settings root"
+    exit
+fi
+
+if [ ! -e ./scripts/moblin-settings.spec ]; then
+    echo "No scripts/moblin-settings.spec found, need to be in moblin-settings 
root"
+    exit
+fi
+
 INFOFILE=~/.gitconfig
 USERNAME=`cat ${INFOFILE} | grep name | tr '\"' '\n' | head -2 | tail -1`
 EMAIL=`cat ${INFOFILE} | grep email | tr '\"' '\n' | head -2 | tail -1`
@@ -20,4 +30,11 @@ echo " -- ${USERNAME} <${EMAIL}>  ${DATE}" >> $TMP
 echo "" >> $TMP
 cat ChangeLog >> $TMP
 mv $TMP ChangeLog
+
+echo "Summary: Moblin System Settings" > $TMP
+echo "Name: moblin-settings" >> $TMP
+echo "Version: $VERSION" >> $TMP
+tail --lines=+4 ./scripts/moblin-settings.spec >> $TMP
+mv $TMP ./scripts/moblin-settings.spec
+
 nano ChangeLog
_______________________________________________
Commits mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/commits

Reply via email to