Commit acb62695 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: allow enable ipfs in eepm.conf

parent 49ea75f9
...@@ -151,6 +151,7 @@ pkg_urls= ...@@ -151,6 +151,7 @@ pkg_urls=
pkg_options= pkg_options=
quoted_args= quoted_args=
direct_args= direct_args=
ipfs=
eget_backend=$EGET_BACKEND eget_backend=$EGET_BACKEND
epm_vardir=/var/lib/eepm epm_vardir=/var/lib/eepm
......
...@@ -434,6 +434,9 @@ if [ -z "$1" ] ; then ...@@ -434,6 +434,9 @@ if [ -z "$1" ] ; then
exit exit
fi fi
# allow enable ipfs in global conf
[ "$ipfs" = "--ipfs" ] && __epm_play_initialize_ipfs
while [ -n "$1" ] ; do while [ -n "$1" ] ; do
case "$1" in case "$1" in
...@@ -444,7 +447,7 @@ case "$1" in ...@@ -444,7 +447,7 @@ case "$1" in
--ipfs) --ipfs)
shift shift
__epm_play_initialize_ipfs [ "$ipfs" = "--ipfs" ] || __epm_play_initialize_ipfs
;; ;;
--remove) --remove)
......
...@@ -35,5 +35,8 @@ ...@@ -35,5 +35,8 @@
#eget_backend=curl #eget_backend=curl
#eget_backend=wget #eget_backend=wget
# enable IPFS for epm play
#ipfs=--ipfs
# own path for eget ipfs database # own path for eget ipfs database
#eget_ipfs_db=/var/lib/eepm/eget-ipfs-db.txt #eget_ipfs_db=/var/lib/eepm/eget-ipfs-db.txt
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