Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
d3d574dc
Commit
d3d574dc
authored
Mar 30, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play logseq: move repacking to pack.d
parent
874ea0b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
logseq.sh
pack.d/logseq.sh
+12
-0
logseq.sh
play.d/logseq.sh
+2
-8
No files found.
pack.d/logseq.sh
0 → 100755
View file @
d3d574dc
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
#VERSION="$3"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
"
$(
basename
"
$TAR
"
|
sed
-e
"s|^Logseq-linux-x64-|logseq-|"
)
"
mv
-v
$TAR
$PKGNAME
return_tar
$PKGNAME
play.d/logseq.sh
View file @
d3d574dc
...
@@ -9,12 +9,6 @@ URL="https://github.com/logseq/logseq"
...
@@ -9,12 +9,6 @@ URL="https://github.com/logseq/logseq"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
# https://github.com/logseq/logseq/releases/download/0.9.5/Logseq-linux-x64-0.9.5.AppImage
# https://github.com/logseq/logseq/releases/download/0.9.5/Logseq-linux-x64-0.9.5.AppImage
PKGURL
=
$(
epm tool eget
--list
https://github.com/logseq/logseq/releases/
"Logseq-linux-x64-
$VERSION
.AppImage"
|
grep
-v
nightly |
head
-n1
)
||
fatal
"Can't get package URL"
PKGURL
=
$(
eget
--list
https://github.com/logseq/logseq/releases/
"Logseq-linux-x64-
$VERSION
.AppImage"
|
grep
-v
nightly |
head
-n1
)
||
fatal
"Can't get package URL"
cd_to_temp_dir
epm tool eget
"
$PKGURL
"
||
fatal
newname
=
"
$(
echo
*
.AppImage |
sed
-e
"s|^Logseq-linux-x64-|
$PKGNAME
-|"
)
"
mv
-v
*
.AppImage
$newname
||
exit
epm
install
"
$newname
"
epm pack
--install
$PKGNAME
"
$PKGURL
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment