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
706aaf9a
Commit
706aaf9a
authored
Apr 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add --ipfs support
parent
3e5f05e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
epm
bin/epm
+3
-0
epm-play
bin/epm-play
+13
-0
eepm.conf
etc/eepm.conf
+3
-0
No files found.
bin/epm
View file @
706aaf9a
...
...
@@ -123,6 +123,9 @@ pkg_urls=
quoted_args
=
direct_args
=
eget_backend
=
$EGET_BACKEND
eget_ipfs_db
=
/var/lib/eepm/eget-ipfs-db.txt
# load system wide config
[
-f
$CONFIGDIR
/eepm.conf
]
&&
.
$CONFIGDIR
/eepm.conf
...
...
bin/epm-play
View file @
706aaf9a
...
...
@@ -351,6 +351,19 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
exit
fi
if
[
"
$1
"
=
"--ipfs"
]
;
then
shift
if
[
-d
"
$(
dirname
"
$epm_ipfs_db
"
)
"
]
;
then
export
EGET_IPFS_DB
=
"
$eget_ipfs_db
"
if
[
!
-r
"
$EGET_IPFS_DB
"
]
;
then
sudorun
touch
"
$EGET_IPFS_DB
"
sudorun
chmod
-v
a+rw
"
$EGET_IPFS_DB
"
fi
else
warning
"ipfs db dir
$eget_ipfs_db
is not exists, skipping --ipfs"
fi
fi
if
[
"
$1
"
=
"--remove"
]
||
[
"
$1
"
=
"remove"
]
;
then
shift
...
...
etc/eepm.conf
View file @
706aaf9a
...
...
@@ -27,3 +27,6 @@
#full_upgrade_no_flatpack=1
#full_upgrade_no_snap=1
#full_upgrade_no_kernel_update=1
# own path for eget ipfs database
#eget_ipfs_db=/var/lib/eepm/eget-ipfs-db.txt
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