diff options
-rwxr-xr-x | lb | 15 | ||||
-rwxr-xr-x | librerepkg | 4 | ||||
-rwxr-xr-x | mipsrelease | 1 |
3 files changed, 17 insertions, 3 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash +# LibreTools wrapper +# License: GPLv3 + +source /etc/libretools.conf + +command=$1; shift + +[[ ! -f ~/l/libre${command} ]] && { + error "Command not found" +} + +~/l/libre${command} $@ + +exit $? @@ -55,6 +55,6 @@ stdnull "pushd ${tempdir}" mv rePKGBUILD PKGBUILD msg2 "Updating md5sums" makepkg -g >> PKGBUILD -msg "Repackaging using libremakepkg" -sudo libremakepkg -cu -L +msg "Repackaging using makepkg" +makepkg -Lc stdnull "popd ${tempdir}" diff --git a/mipsrelease b/mipsrelease index 925748f..400e9f1 100755 --- a/mipsrelease +++ b/mipsrelease @@ -4,7 +4,6 @@ source /etc/makepkg.conf pushd ${PKGDEST} >/dev/null -#TODO: repo-add should stage to a local db and not stage3 repo-add stage3.db.tar.gz $@ popd >/dev/null |