瀏覽代碼

Add a couple more public subdirectories on mesh clients

Bob Mottram 7 年之前
父節點
當前提交
a497c03195
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      src/freedombone-image-mesh

+ 2
- 0
src/freedombone-image-mesh 查看文件

682
         if [ ! -d /home/$MY_USERNAME/Public ]; then
682
         if [ ! -d /home/$MY_USERNAME/Public ]; then
683
             mkdir -p /home/$MY_USERNAME/Public/Videos
683
             mkdir -p /home/$MY_USERNAME/Public/Videos
684
             mkdir -p /home/$MY_USERNAME/Public/Music
684
             mkdir -p /home/$MY_USERNAME/Public/Music
685
+            mkdir -p /home/$MY_USERNAME/Public/Podcasts
685
             mkdir -p /home/$MY_USERNAME/Public/Documents
686
             mkdir -p /home/$MY_USERNAME/Public/Documents
687
+            mkdir -p /home/$MY_USERNAME/Public/Pictures
686
             echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
688
             echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
687
             chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
689
             chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
688
             ln -s /home/$MY_USERNAME/Public /home/$MY_USERNAME/Desktop/Public
690
             ln -s /home/$MY_USERNAME/Public /home/$MY_USERNAME/Desktop/Public