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
Vladislav
eepm
Commits
c1fe3a24
Commit
c1fe3a24
authored
Apr 11, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play --ipfs: initialize db with site prepared data
parent
82416f53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
epm-play
bin/epm-play
+4
-0
No files found.
bin/epm-play
View file @
c1fe3a24
...
...
@@ -358,6 +358,10 @@ if [ "$1" = "--ipfs" ] ; then
if
[
!
-r
"
$EGET_IPFS_DB
"
]
;
then
sudorun
touch
"
$EGET_IPFS_DB
"
>
&2
sudorun
chmod
-v
a+rw
"
$EGET_IPFS_DB
"
>
&2
# get initial db from server
local
URL
=
"https://eepm.ru/app-versions"
info
"Initialize IPFS DB in
$EGET_IPFS_DB
file and fill it with data from
$URL
/eget-ipfs-db.txt"
docmd eget
-q
-O
$EGET_IPFS_DB
"
$URL
/eget-ipfs-db.txt"
fi
else
warning
"ipfs db dir
$eget_ipfs_db
is not exists, skipping --ipfs"
...
...
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