[Lunar-commits] <moonbase-core> lunar-tools: Version bumped to 2012.8

Stefan Wold ratler at lunar-linux.org
Thu Aug 23 19:48:15 CEST 2012


commit 626a703811427b2f8f0da83259dcb8091c8fb697
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 23 Aug 2012 10:48:15 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/626a703811427b2f8f0da83259dcb8091c8fb697

lunar-tools: Version bumped to 2012.8
---
  utils/lunar-tools/BUILD                                      +0/-6     
  utils/lunar-tools/DETAILS                                    +3/-3     
  utils/lunar-tools/profile.d/clad.rc                          +22/-0    
  3 files changed, 25 insertions (+), 9 deletions (-)

--- a/utils/lunar-tools/BUILD
+++ /dev/null
@@ -1,6 +0,0 @@
-(
-
-  prepare_install &&
-  make install
-
-) > $C_FIFO
--- a/utils/lunar-tools/DETAILS
+++ b/utils/lunar-tools/DETAILS
@@ -1,12 +1,12 @@
           MODULE=lunar-tools
-         VERSION=2012.7
+         VERSION=2012.8
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=http://lunar-linux.org/lunar/
-      SOURCE_VFY=sha1:a743d5d7ab47468d6c089e51b5763e760f09a9b9
+      SOURCE_VFY=sha1:14fb37529f545b2d462c3904ab93c5799de11a18
       MAINTAINER=sofar at lunar-linux.org
         WEB_SITE=http://lunar-linux.org/
          ENTERED=20041029
-         UPDATED=20120806
+         UPDATED=20120823
            SHORT="A collection of lunar tools"
 cat << EOF
 Lunar-tools is a package with non-vital tools that help you perform
--- /dev/null
+++ b/utils/lunar-tools/profile.d/clad.rc
@@ -0,0 +1,22 @@
+
+# Turn on extended globbing
+shopt -s extglob
+
+_clad () 
+{
+    local cur prev
+    COMPREPLY=()
+    cur=${COMP_WORDS[COMP_CWORD]}
+    prev=${COMP_WORDS[COMP_CWORD-1]}
+
+    if [ $COMP_CWORD -eq 1 ] || [ "${prev:0:1}" = "-" ]; then
+       	COMPREPLY=( $( compgen -W 'create destroy add remove test run bgrun list login logout' $cur ))
+    elif [ $COMP_CWORD -eq 2 ]; then
+        COMPREPLY=( $( compgen -W "`ls /var/lib/clad`" ))
+    else
+        COMPREPLY=( $( compgen -W "`cat /var/lib/clad/$prev`" ))
+    fi
+    return 0
+}
+complete -F _clad clad
+




More information about the Lunar-commits mailing list