Example readme

This commit is contained in:
Bob Mottram 2016-09-04 19:07:13 +01:00
parent 9f8b5e0030
commit e6ff0888b3
1 changed files with 1 additions and 0 deletions

View File

@ -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