aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/doc/CHANGELOG2
-rw-r--r--trunk/doc/README4
-rw-r--r--trunk/doc/README.pt_BR4
-rw-r--r--trunk/doc/README.simplaret6
-rw-r--r--trunk/doc/README.simplaret.pt_BR6
-rw-r--r--trunk/doc/simplaret-en.tex2
-rw-r--r--trunk/doc/simplaret-pt_BR.tex2
-rw-r--r--trunk/doc/simplepkg-en.tex2
-rw-r--r--trunk/doc/simplepkg-pt_BR.tex2
-rwxr-xr-xtrunk/src/templatepkg2
10 files changed, 16 insertions, 16 deletions
diff --git a/trunk/doc/CHANGELOG b/trunk/doc/CHANGELOG
index ae694b7..88cc8ce 100644
--- a/trunk/doc/CHANGELOG
+++ b/trunk/doc/CHANGELOG
@@ -14,7 +14,7 @@ simplepkg changelog
- renamed function use_svn to templates_under_svn
- simplaret: simplaret_search_and_process_patch do not donwload a package with the same
package name twice in any case
- - default simplepkg.conf and repos.conf moved to default/ folder
+ - default simplepkg.conf and repos.conf moved to defaults/ folder
- templatepkg and mkjail: minor changes
- templates:
- removed slackware and added slackware-12.1
diff --git a/trunk/doc/README b/trunk/doc/README
index 7068255..7c3ef17 100644
--- a/trunk/doc/README
+++ b/trunk/doc/README
@@ -152,7 +152,7 @@ simpleokg config file), say /mnt/hda2, just use something like that:
The above command does exactly what you think: installs slackware in /mnt/hda2 with exactly the same packages
you have on your system, replacing the need of the slackware installer!
-In case no template specified, mkjail uses the one stored /etc/simplepkg/default, if exists. Simplepkg already
+In case no template specified, mkjail uses the one stored /etc/simplepkg/defaults, if exists. Simplepkg already
came if some pre-built templates at /etc/simplepkg/defaults/templates.
Post-installation scripts
@@ -394,7 +394,7 @@ and to create SlackBuild scripts.
Configuration parameters
------------------------
-Simplepkg's default config file is /etc/simplepkg/default/simplepkg.conf and it keeps parameters used by all scripts.
+Simplepkg's default config file is /etc/simplepkg/defaults/simplepkg.conf and it keeps parameters used by all scripts.
If you want to change some of its parameters, do not edit this file. Use /etc/simplepkg/simplepkg.conf instead as it
overrides the default settings.
diff --git a/trunk/doc/README.pt_BR b/trunk/doc/README.pt_BR
index fadf309..678fe99 100644
--- a/trunk/doc/README.pt_BR
+++ b/trunk/doc/README.pt_BR
@@ -160,7 +160,7 @@ mudado pelo arquivo de configuração do simplepkg), basta usar um comando do tipo
O comando acima faz exatamente o que você está pensando: replica sua instalação slackware em /mnt/hda2,
dispensando totalmente o programa de instalação do slackware!
-Caso nenhum template for especificado, o mkjail utiliza o template /etc/simplepkg/default. O simplepkg já vem
+Caso nenhum template for especificado, o mkjail utiliza o template /etc/simplepkg/defaults. O simplepkg já vem
com alguns templates padrões, presentes em /etc/simplepkg/defaults/templates.
Scripts de pós-instalação
@@ -408,7 +408,7 @@ sozinhos ou pelo o createpkg.
Parâmetros de configuração
--------------------------
-O arquivo de configuração do simplepkg é o /etc/simplepkg/default/simplepkg.conf. Ele contém parâmetros de
+O arquivo de configuração do simplepkg é o /etc/simplepkg/defaults/simplepkg.conf. Ele contém parâmetros de
configuração de todos os scripts, porém neste texto não trataremos das opções específicas ao simplaret,
as quais tem uma seção específica no artigo correspondente.
diff --git a/trunk/doc/README.simplaret b/trunk/doc/README.simplaret
index cb98cf1..26c8916 100644
--- a/trunk/doc/README.simplaret
+++ b/trunk/doc/README.simplaret
@@ -26,7 +26,7 @@ at http://slack.sarava.org/simplepkg. Simplaret uses
for repository information.
The default configuration is placed, respectively, at
-/etc/simplepkg/default/simplepkg.conf and /etc/simplepkg/default/repos.conf and
+/etc/simplepkg/defaults/simplepkg.conf and /etc/simplepkg/defaults/repos.conf and
should work for most people, but if you want to change something please don't
edit the default configuration files as the default setting may change in
future releases. If you have a /etc/simplepkg/repos.conf file, then simplaret
@@ -306,8 +306,8 @@ You may ask why someone wishes to use such tool.
Simplaret was written with a *x86 environment in mind, where lots of jails with different archs
and versions are installed. Suppose a x86_64 with the following chroots installed:
- - slamd64 11.0
- - slackware 10.0
+ - slamd64 12.0
+ - slackware 12.1
- slackware 11.0 with additional i686 packages
- uSlack (i386 uClibc)
diff --git a/trunk/doc/README.simplaret.pt_BR b/trunk/doc/README.simplaret.pt_BR
index 4abdd2d..2154cb8 100644
--- a/trunk/doc/README.simplaret.pt_BR
+++ b/trunk/doc/README.simplaret.pt_BR
@@ -30,7 +30,7 @@ então editar a lista de repositórios do arquivo /etc/simplepkg/repos.conf ou a c
do aplicativo pelo arquivo /etc/simplepkg/simplepkg.conf.
A configuração padrão de repositórios no simplaret se encontra em
-/etc/simplepkg/default/repos.conf, mas não recomendamos você editá-la. Use, ao
+/etc/simplepkg/defaults/repos.conf, mas não recomendamos você editá-la. Use, ao
invés disso, o /etc/simplepkg/repos.conf para sua configuração personalizada:
se o simplaret encontrar esse arquivo, ele simplesmente ingorará as definições
padrão de repositório.
@@ -421,8 +421,8 @@ uma ferramenta que baixa pacotes de várias arquiteturas?
O simplaret foi escrito tendo em mente um ambiente *86 onde várias jaulas de diferentes arquiteturas estão
instaladas. Suponha por exemplo uma máquina x86_64 que possua as seguintes jaulas:
- - Slamd64 11.0
- - Slackware 11.0
+ - Slamd64 12.0
+ - Slackware 12.1
- Slackware 11.0 com pacotes adicionais em i686
- ucSlack (uClibc para i386)
diff --git a/trunk/doc/simplaret-en.tex b/trunk/doc/simplaret-en.tex
index a83cf95..703aae2 100644
--- a/trunk/doc/simplaret-en.tex
+++ b/trunk/doc/simplaret-en.tex
@@ -21,7 +21,7 @@ It was inspired in swaret behavior but don't tries to get its complexity level,
Simplaret comes with simplepkg, wich installation and configuration is detailed at http://slack.sarava.org/simplepkg. Simplaret uses /etc/simplepkg/simplepkg.conf for its definitions and /etc/simplepkg/repos.conf for repository information.
-The default configuration is placed, respectively, at /etc/simplepkg/default/simplepkg.conf and /etc/simplepkg/default/repos.conf and should work for most people, but if you want to change something please don't edit the default configuration files as the default setting may change in future releases. If you have a /etc/simplepkg/repos.conf file, then simplaret will just ignore the default repos.conf.
+The default configuration is placed, respectively, at /etc/simplepkg/defaults/simplepkg.conf and /etc/simplepkg/defaults/repos.conf and should work for most people, but if you want to change something please don't edit the default configuration files as the default setting may change in future releases. If you have a /etc/simplepkg/repos.conf file, then simplaret will just ignore the default repos.conf.
\section{Using simplaret}
diff --git a/trunk/doc/simplaret-pt_BR.tex b/trunk/doc/simplaret-pt_BR.tex
index 8cef3dc..986dbb0 100644
--- a/trunk/doc/simplaret-pt_BR.tex
+++ b/trunk/doc/simplaret-pt_BR.tex
@@ -28,7 +28,7 @@ installpkg simplepkg-VERSAO-noarch-BUILD.tgz
A partir daí você já pode utilizar o \emph{simplaret} para baixar pacotes dos repositórios padrão ou então alterar a lista de repositórios do arquivo \emph{/etc/simplepkg/repos.conf} ou a configuração do aplicativo pelo arquivo \emph{/etc/simplepkg/simplepkg.conf}.
-A configuração padrão de repositórios no simplaret se encontra em \emph{/etc/simplepkg/default/repos.conf}, mas não recomendamos você editá-la. Use, ao invés disso, o \emph{/etc/simplepkg/repos.conf} para sua configuração personalizada: se o simplaret encontrar esse arquivo, ele simplesmente ingorará as definições padrão de repositório.
+A configuração padrão de repositórios no simplaret se encontra em \emph{/etc/simplepkg/defaults/repos.conf}, mas não recomendamos você editá-la. Use, ao invés disso, o \emph{/etc/simplepkg/repos.conf} para sua configuração personalizada: se o simplaret encontrar esse arquivo, ele simplesmente ingorará as definições padrão de repositório.
\section{Usando o simplaret}
diff --git a/trunk/doc/simplepkg-en.tex b/trunk/doc/simplepkg-en.tex
index 42add65..4d32876 100644
--- a/trunk/doc/simplepkg-en.tex
+++ b/trunk/doc/simplepkg-en.tex
@@ -127,7 +127,7 @@ ROOT=/mnt mkjail hda2 my-slackware
The above command does exactly what you think: installs slackware in /mnt/hda2 with exactly the same packages you have on your system, replacing the need of the slackware installer!
-In case no template specified, mkjail uses the one stored /etc/simplepkg/default, if exists. Simplepkg already came if some pre-built templates at /etc/simplepkg/defaults/templates.
+In case no template specified, mkjail uses the one stored /etc/simplepkg/defaults, if exists. Simplepkg already came if some pre-built templates at /etc/simplepkg/defaults/templates.
\section{Post-installation scripts}
diff --git a/trunk/doc/simplepkg-pt_BR.tex b/trunk/doc/simplepkg-pt_BR.tex
index 3132250..a80f0e7 100644
--- a/trunk/doc/simplepkg-pt_BR.tex
+++ b/trunk/doc/simplepkg-pt_BR.tex
@@ -129,7 +129,7 @@ ROOT=/mnt mkjail hda2 meu-slackware
O comando acima faz exatamente o que você está pensando: replica sua instalação slackware em /mnt/hda2, dispensando totalmente o programa de instalação do slackware!
-Caso nenhum template for especificado, o mkjail utiliza o template /etc/simplepkg/default. O \emph{simplepkg} já vem com alguns templates padrões, presentes em /etc/simplepkg/defaults/templates.
+Caso nenhum template for especificado, o mkjail utiliza o template /etc/simplepkg/defaults. O \emph{simplepkg} já vem com alguns templates padrões, presentes em /etc/simplepkg/defaults/templates.
\section{Scripts de pós-instalação}
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 6739795..d079902 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -489,7 +489,7 @@ function template_add {
if [ -a "$jail/$file" ]; then
- destination="`echo `template_files`/$file | sed -e 's/\/$//'`"
+ destination="`echo $(template_files)/$file | sed -e 's/\/$//'`"
if templates_under_svn && [ -d "`template_files`/.svn" ]; then