Commit c57a4f0b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: small fixes

parent 340dbd9b
...@@ -17,7 +17,7 @@ erc unpack $BASENAME.tar.xz || fatal ...@@ -17,7 +17,7 @@ erc unpack $BASENAME.tar.xz || fatal
mkdir -p opt mkdir -p opt
mkdir -p usr/share/applications/ mkdir -p usr/share/applications/
mv $BASENAME/ opt/sidequest mv $BASENAME* opt/sidequest
for res in 16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024; do for res in 16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024; do
install -dm755 "usr/share/icons/hicolor/${res}/apps/" install -dm755 "usr/share/icons/hicolor/${res}/apps/"
......
...@@ -38,4 +38,4 @@ fi ...@@ -38,4 +38,4 @@ fi
epm install $repack "$URL" || exit epm install $repack "$URL" || exit
echo echo
echo "NOTE: VS Code is a proprietary build. We recommend to use open source editors: Codium, Atom." echo "NOTE: VS Code is a proprietary build. We recommend you to use open source editors: Codium, Atom."
...@@ -8,5 +8,4 @@ DESCRIPTION="Microsoft Edge browser (dev) from the official site" ...@@ -8,5 +8,4 @@ DESCRIPTION="Microsoft Edge browser (dev) from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# epm uses eget to download * names
epm install "https://packages.microsoft.com/repos/edge/pool/main/m/$PKGNAME/${PKGNAME}_${VERSION}_amd64.deb" epm install "https://packages.microsoft.com/repos/edge/pool/main/m/$PKGNAME/${PKGNAME}_${VERSION}_amd64.deb"
...@@ -13,6 +13,7 @@ if [ "$VERSION" = "*" ] ; then ...@@ -13,6 +13,7 @@ if [ "$VERSION" = "*" ] ; then
#VERSION="10.0.16100" #VERSION="10.0.16100"
fi fi
# TODO: install from snap
#PKGURL="https://icq-www.hb.bizmrg.com/linux/x64/icq.tar.xz" #PKGURL="https://icq-www.hb.bizmrg.com/linux/x64/icq.tar.xz"
PKGURL="https://hb.bizmrg.com/icq-www/linux/x64/packages/$VERSION/icq-${VERSION}_64bit.tar.xz" PKGURL="https://hb.bizmrg.com/icq-www/linux/x64/packages/$VERSION/icq-${VERSION}_64bit.tar.xz"
epm install --repack "$PKGURL" epm install --repack "$PKGURL"
#!/bin/sh #!/bin/sh
# TODO: uses global epm here
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
case $pkgtype in case $pkgtype in
rpm) rpm)
...@@ -17,7 +18,6 @@ URL="https://www.lecad.ru" ...@@ -17,7 +18,6 @@ URL="https://www.lecad.ru"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
case $pkgtype in case $pkgtype in
rpm) rpm)
mask="$PKGNAME-$VERSION*.x86_64.rpm" mask="$PKGNAME-$VERSION*.x86_64.rpm"
......
...@@ -26,8 +26,7 @@ case "$(epm print info -s)" in ...@@ -26,8 +26,7 @@ case "$(epm print info -s)" in
file=onlyoffice-desktopeditors_amd64.deb file=onlyoffice-desktopeditors_amd64.deb
pkgtype=deb pkgtype=deb
repo="$(epm print info -r)" if !is_glibc_enough 2.32 ; then
if [ "$VERSION" = "*" ] && [ "$repo" = "p9" ] || [ "$repo" = "c9f2" ] ; then
# need old glibc # need old glibc
VERSION=7.3.3 VERSION=7.3.3
fi fi
......
...@@ -21,6 +21,7 @@ epm install $PKGNAME || exit ...@@ -21,6 +21,7 @@ epm install $PKGNAME || exit
#[ "$vendor" != "alt" ] && exit #[ "$vendor" != "alt" ] && exit
# epm can install module correctly
epm install kernel-module-virtualbox || exit epm install kernel-module-virtualbox || exit
echo echo
......
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