Commit 9b28124b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play todoist: cleanup for new AppImage naming scheme

parent 3c383b4f
#!/bin/sh
PKGNAME=Todoist
PKGNAME=Todoist-linux
SUPPORTEDARCHES="x86_64"
DESCRIPTION='Todoist client application from the official site'
URL="https://todoist.com/"
. $(dirname $0)/common.sh
PKGURL="https://todoist.com/linux_app/appimage"
# TODO: rename AppImages on the fly (in pack.d/generic-appimage.sh)
cd_to_temp_dir
epm tool eget "$PKGURL" || fatal
newname="$(echo *.AppImage | sed -e "s|^Todoist-linux-x86_64-|$PKGNAME-|" )"
mv -v *.AppImage $newname || exit
epm install $newname
epm install $PKGURL
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