This is the old SliTaz forum - Please use the main forum.slitaz.org

failed script to install on liveUSB
  • lokiloki June 2010
    I wanted to make a script to recharge tazpkg and install firefox and flash without using a GUI.

    I started with:
    ------
    #!/bin/sh

    subox tazpkg recharge

    subox tazpkg get-install get-flash-plugin firefox
    ------

    I made the script executable but when it executes it asks for a password and does absolutely nothing. I expected a terminal to appear displaying the relevant commands executing but nothing happened. This is all happening on a liveusb. what am I doing wrong?
  • seawolfseawolf June 2010
    Have you tried two get-install commands? I don't think tazpkg can handle more than one package.

    Try this command (works in SHell and BASH):
    for PKG in get-flash-plugin firefox; do subox tazpkg get-install $PKG; done;
    or two commands.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social