Example readme
This commit is contained in:
parent
9f8b5e0030
commit
e6ff0888b3
|
@ -801,6 +801,7 @@ function setup_ipfs {
|
|||
if [ -d /home/$MY_USERNAME/Desktop ]; then
|
||||
if [ ! -d /home/$MY_USERNAME/Public ]; then
|
||||
mkdir /home/$MY_USERNAME/Public
|
||||
echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
|
||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
|
||||
su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
|
||||
if [ ! -f $IPFS_PUBLIC ]; then
|
||||
|
|
Loading…
Reference in New Issue