Emmanuel Bouthenot 17 жил өмнө
parent
commit
5122f719df

+ 3 - 0
.cowbuilder/sid

@@ -0,0 +1,3 @@
+DISTRIBUTION=sid
+BASEPATH=/var/cache/pbuilder/sid.cow
+MIRRORSITE=http://ftp.fr.debian.org/debian

+ 3 - 0
.cowbuilder/stable

@@ -0,0 +1,3 @@
+DISTRIBUTION=stable
+BASEPATH=/var/cache/pbuilder/stable.cow
+MIRRORSITE=http://ftp.fr.debian.org/debian

+ 16 - 0
.zsh.d/os.d/Debian.zsh

@@ -1,3 +1,19 @@
 
 # Debian stuff
 
+function cow-dist () {
+    [ $# -lt 2 ] \
+	&& echo "Error args." \
+	&& return
+    
+    dist=$1
+    shift
+    command=$1
+    shift
+    
+    echo cowbuilder $command --configfile ~/.cowbuilder/$dist $@
+    return $?
+}
+
+alias cow-stable="cow-dist stable"
+alias cow-sid="cow-dist sid"