On Mon, 2005-03-07 at 18:15 -0300, Daniel Zilli wrote:
> but when i did the command:
> 
> for x in $TMP/Insmin; do     #Insmin --> is the text file
>     pacman.static --add --noconfirm --root=/mnt $x
>     echo "Instalando $x"
>     done
> 
> I received this error:
> 
> load_pkg: missing package info file in /var/log/setup/tpm/Insmin---> 
> where the text file are.
> 
> What is wrong ?

You need to read the contents of the text file into the loop variable;
at the moment you're just setting the loop variable to the text file's
name.

for x in `<$TMP/Insmin`; do
...

HTH,

- olly



_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to