morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus.git
Log | Files | Refs | Submodules | README | LICENSE

commit c325f1c8221eb629bab5bc0f7c7b8a55da249af4
parent 174dd4eb53a9628786a8e8bc4667fff4a8cc3250
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri May 30 16:37:03 +0200

install-morpheus: make root and pkgdir a variable

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
misc/install-morpheus | 47++++++++++++++++++++++++++---------------------
1 file changed, 26 insertions(+), 21 deletions(-)
diff --git a/misc/install-morpheus b/misc/install-morpheus @@ -2,24 +2,29 @@ # # you need pkgtools from http://git.2f30.org/pkgtools/ -mkdir -p root/var/pkg -mkdir -p pkgs -searchpkg '\.tgz$' | xargs wget -P pkgs -installpkg -p root pkgs/busybox#1.22.1.pkg.tgz -installpkg -p root pkgs/curl#7.36.0.pkg.tgz -installpkg -p root pkgs/e2fsprogs#1.42.9.pkg.tgz -installpkg -p root pkgs/extlinux#6.02.pkg.tgz -installpkg -p root pkgs/file#5.17.pkg.tgz -installpkg -p root pkgs/fs.pkg.tgz -installpkg -p root pkgs/hbase.pkg.tgz -installpkg -p root pkgs/ii.pkg.tgz -installpkg -p root pkgs/linux#3.10.32.pkg.tgz -installpkg -p root pkgs/mksh#R47.pkg.tgz -installpkg -p root pkgs/pkgtools.pkg.tgz -installpkg -p root pkgs/sbase.pkg.tgz -installpkg -p root pkgs/sdhcp.pkg.tgz -installpkg -p root pkgs/sinit.pkg.tgz -installpkg -p root pkgs/smdev.pkg.tgz -installpkg -p root pkgs/tmux#1.9a.pkg.tgz -installpkg -p root pkgs/ubase.pkg.tgz -installpkg -p root pkgs/vim#7.4.pkg.tgz +root="root" +pkgdir="pkgs" +# prepare root. +mkdir -p "$root/var/pkg" +mkdir -p "$pkgdir" +# fetch packages. +searchpkg '\.tgz$' | xargs wget -P "$pkgdir" +# install +installpkg -p "$root" "$pkgdir/busybox#1.22.1.pkg.tgz" +installpkg -p "$root" "$pkgdir/curl#7.36.0.pkg.tgz" +installpkg -p "$root" "$pkgdir/e2fsprogs#1.42.9.pkg.tgz" +installpkg -p "$root" "$pkgdir/extlinux#6.02.pkg.tgz" +installpkg -p "$root" "$pkgdir/file#5.17.pkg.tgz" +installpkg -p "$root" "$pkgdir/fs.pkg.tgz" +installpkg -p "$root" "$pkgdir/hbase.pkg.tgz" +installpkg -p "$root" "$pkgdir/ii.pkg.tgz" +installpkg -p "$root" "$pkgdir/linux#3.10.32.pkg.tgz" +installpkg -p "$root" "$pkgdir/mksh#R47.pkg.tgz" +installpkg -p "$root" "$pkgdir/pkgtools.pkg.tgz" +installpkg -p "$root" "$pkgdir/sbase.pkg.tgz" +installpkg -p "$root" "$pkgdir/sdhcp.pkg.tgz" +installpkg -p "$root" "$pkgdir/sinit.pkg.tgz" +installpkg -p "$root" "$pkgdir/smdev.pkg.tgz" +installpkg -p "$root" "$pkgdir/tmux#1.9a.pkg.tgz" +installpkg -p "$root" "$pkgdir/ubase.pkg.tgz" +installpkg -p "$root" "$pkgdir/vim#7.4.pkg.tgz"