|
@@ -801,6 +801,7 @@ function setup_ipfs {
|
801
|
801
|
if [ -d /home/$MY_USERNAME/Desktop ]; then
|
802
|
802
|
if [ ! -d /home/$MY_USERNAME/Public ]; then
|
803
|
803
|
mkdir /home/$MY_USERNAME/Public
|
|
804
|
+ echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
|
804
|
805
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
|
805
|
806
|
su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
|
806
|
807
|
if [ ! -f $IPFS_PUBLIC ]; then
|