Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a143ee01dea6fdff81bc2129d2ea6160e50e17b9

commit a143ee01dea6fdff81bc2129d2ea6160e50e17b9
Author: CSÉCSY László <[EMAIL PROTECTED]>
Date:   Mon Jan 21 17:52:30 2008 +0100

drupal.sh: s/build()/Fbuild_drupal()/
this way build() can be overloaded
(by def all it does is calling Fbuild_drupal)

diff --git a/source/include/drupal.sh b/source/include/drupal.sh
index abf7d71..543ff2a 100644
--- a/source/include/drupal.sh
+++ b/source/include/drupal.sh
@@ -60,10 +60,18 @@ options=('stick' 'nodocs')

###
# == PROVIDED FUNCTIONS
-# * build()
+# * Fbuild_drupal()
###
-build()
+Fbuild_drupal()
{
Fmkdir var/www/drupal/sites/all/modules
mv $Fsrcdir/$_F_drupal_module 
$Fdestdir/var/www/drupal/sites/all/modules/$_F_drupal_module
}
+
+###
+# * build()
+###
+build()
+{
+       Fbuild_drupal
+}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to