1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-12-25 10:28:06 +11:00

Finally finish the packaging updates for r5?

This commit is contained in:
20kdc 2018-07-28 15:00:30 +01:00
parent 6255587090
commit 27f7fe35da
2 changed files with 6 additions and 9 deletions

View File

@ -3,10 +3,12 @@
# This is released into the public domain.
# No warranty is provided, implied or otherwise.
stat repobuild/data/app-claw/local.lua && rm -rf repobuild
# Package repository using supplied inst.lua (use inst-gold.lua for repository branch)
stat repobuild/data/app-claw && rm -rf repobuild
mkdir repobuild
cp -r code/* repobuild/
cp -r repository/* repobuild/
cp inst-gold.lua repobuild/inst.lua
cp $1 repobuild/
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/code-claw.lua > repobuild/data/app-claw/local.c2l
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/repo-claw.lua >> repobuild/data/app-claw/local.c2l

View File

@ -18,10 +18,5 @@ echo -n "--[[" >> inst.lua
cat com2/code.tar.bd >> inst.lua
echo -n "]]" >> inst.lua
stat repobuild/data/app-claw && rm -rf repobuild
mkdir repobuild
cp -r code/* repobuild/
cp -r repository/* repobuild/
cp inst.lua repobuild/
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/code-claw.lua > repobuild/data/app-claw/local.c2l
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/repo-claw.lua >> repobuild/data/app-claw/local.c2l
# Common Repository Setup Code
./package-repo.sh inst.lua