]> Raphaƫl G. Git Repositories - distcook/blobdiff - cook
Readd urpmi setup
[distcook] / cook
diff --git a/cook b/cook
index e501fe26ddeee9f0d2ff406f109cc700d89f1a40..5b50b50ec364aa8e0b5aad7d0b4ad5fbe1c378ea 100755 (executable)
--- a/cook
+++ b/cook
@@ -5,13 +5,13 @@ export LC_ALL=C
 
 # Extract configuration
 echo '#! /bin/sh -e' > lib/config.sh
-cat config/*.conf | perl -pne 'undef $_ if /^#/; s/^/export /' >> lib/config.sh
+cat config/*.conf | perl -pne 'if (/^#/) {undef $_;} else {s/^/export /;}' >> lib/config.sh
 
 # Source config
 . lib/config.sh
 
 # Configure urpmi
-#. lib/urpmi.sh
+. lib/urpmi.sh
 
 # Install rpm
 . lib/install.sh