Bob Mottram 8 lat temu
rodzic
commit
e6ff0888b3
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/freedombone-image-mesh

+ 1
- 0
src/freedombone-image-mesh Wyświetl plik

801
     if [ -d /home/$MY_USERNAME/Desktop ]; then
801
     if [ -d /home/$MY_USERNAME/Desktop ]; then
802
         if [ ! -d /home/$MY_USERNAME/Public ]; then
802
         if [ ! -d /home/$MY_USERNAME/Public ]; then
803
             mkdir /home/$MY_USERNAME/Public
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
             chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
805
             chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
805
             su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
806
             su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
806
             if [ ! -f $IPFS_PUBLIC ]; then
807
             if [ ! -f $IPFS_PUBLIC ]; then