diff --git a/conf/templates/fallback b/conf/templates/fallback index d15023c..29d8888 100644 --- a/conf/templates/fallback +++ b/conf/templates/fallback @@ -3,6 +3,16 @@ ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) +########################## +## Set version information from within beefile by adding/uncommenting +## these lines (requires bee >= 1.3): +## +## #@beepackage pkgname-version-revision +## require_version 1.3 + +##@beepackage @PKGALLPKG@ +#require_version 1.2.99 + ############################################################################### ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. diff --git a/src/bee-init.sh.in b/src/bee-init.sh.in index ac088c6..76d74e6 100644 --- a/src/bee-init.sh.in +++ b/src/bee-init.sh.in @@ -344,6 +344,9 @@ function initialize() { -i ${beefile} fi + sed -e "s,@PKGALLPKG@,${PKGALLPKG}," \ + -i ${beefile} + bee_versionify ${beefile} chmod 755 ${beefile}