Commit 6f20a04a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack: fix using version arg

parent 76ad7771
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
PRODUCT="$(basename $0 .sh)" PRODUCT="$(basename $0 .sh)"
FPRODUCT="Telegram" FPRODUCT="Telegram"
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
PRODUCT="$(basename $0 .sh)" PRODUCT="$(basename $0 .sh)"
FPRODUCT="Telegram" FPRODUCT="Telegram"
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
PRODUCT="cuda-z" PRODUCT="cuda-z"
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
VERSION="$3"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
VERSION="2.4"
[ -n "$VERSION" ] || fatal "Missed archive version" [ -n "$VERSION" ] || fatal "Missed archive version"
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
PRODUCT=jetbrains-toolbox PRODUCT=jetbrains-toolbox
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
VERSION="$3"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# TODO: get from grep '^###Scripts version ' PortWINE/data_from_portwine/changelog_eng | head -n1
###Scripts version 2172###
VERSION="$(epm tool eget -O- https://api.github.com/repos/Castro-Fidel/PortWINE/commits/HEAD | grep '"message": "Scripts version' | sed -e 's|.*Scripts version ||' -e 's|".*||' )"
[ -n "$VERSION" ] || fatal "Missed archive version" [ -n "$VERSION" ] || fatal "Missed archive version"
PKGNAME=portproton-$VERSION.tar PKGNAME=portproton-$VERSION.tar
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
OPKGNAME="Unigine_Superposition" OPKGNAME="Unigine_Superposition"
......
#!/bin/sh #!/bin/sh
TAR="$1" TAR="$1"
#VERSION="$2"
RETURNTARNAME="$2" RETURNTARNAME="$2"
OPKGNAME="Unigine_Valley" OPKGNAME="Unigine_Valley"
......
...@@ -20,4 +20,4 @@ esac ...@@ -20,4 +20,4 @@ esac
PKGURL="https://github.com/unxed/far2l-deb/raw/master/portable/far2l_portable_$arch.tar.gz" PKGURL="https://github.com/unxed/far2l-deb/raw/master/portable/far2l_portable_$arch.tar.gz"
epm pack --install $PKGNAME "$PKGURL" epm pack --install $PKGNAME "$PKGURL" "2.4"
...@@ -13,7 +13,11 @@ if ! epm install portproton ; then ...@@ -13,7 +13,11 @@ if ! epm install portproton ; then
res=$? res=$?
fi fi
#epm pack --install $PKGNAME https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz
# TODO: get from grep '^###Scripts version ' PortWINE/data_from_portwine/changelog_eng | head -n1
###Scripts version 2172###
#VERSION="$(epm tool eget -O- https://api.github.com/repos/Castro-Fidel/PortWINE/commits/HEAD | grep '"message": "Scripts version' | sed -e 's|.*Scripts version ||' -e 's|".*||' )"
#epm pack --install $PKGNAME https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz $VERSION
epm play i586-fix epm play i586-fix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment