Commit d142ce10 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play todoist: fix package name

parent ad7ffaa6
......@@ -6,6 +6,12 @@ DESCRIPTION='Todoist client application from the official site'
. $(dirname $0)/common.sh
PKGURL="https://todoist.com/linux_app/appimage"
epm install "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
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