aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-14 23:08:34 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-14 23:08:34 +0000
commit6df8c81465374eaa4e07ce9580bb095dca04be7c (patch)
tree2fbdf0a48a0d03506383b486841d639c3c84a297
parent3d7f72ccfa6641335ffec2bc6f19cd79cade30fd (diff)
downloadsimplepkg-6df8c81465374eaa4e07ce9580bb095dca04be7c.tar.gz
simplepkg-6df8c81465374eaa4e07ce9580bb095dca04be7c.tar.bz2
small fixes & TODO update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@188 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/lib/common.sh4
-rwxr-xr-xtrunk/src/jail-commit5
-rwxr-xr-xtrunk/src/templatepkg5
3 files changed, 13 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index ac89596..28ee8ea 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -288,6 +288,10 @@ function eval_config {
TEMPLATE_STORAGE_STYLE="own-folder"
fi
+ if [ ! -z "$ROOT" ]; then
+ JAIL_ROOT="$ROOT"
+ fi
+
}
function default_version {
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index 656d568..b318f94 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -63,6 +63,11 @@ function template_svn_commit {
}
+# TODO: command line parsing: with no arguments, jail-commit
+# does exactly what it does now, but we also need to add
+# options to choose just one jail to commit; perhaps
+# make this similar to jail-update command line behaviour.
+
if [ -f $JAIL_LIST ]; then
for jailpath in `cat $JAIL_LIST`; do
jail="`basename $jailpath`"
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index d2eea48..c30bcdd 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -63,9 +63,12 @@ function usage {
# TODO: -i | --import
# -co | --checkout
+ # formas de iniciar a construcao de templates:
+ #
# - importado o /etc/simplepkg/templates
- # - importado apenas um template
+ # - importado apenas um template?
# - nao importado nada
+ #
}