This commit is contained in:
Bob Mottram 2016-09-05 21:11:41 +01:00
parent e6ff0888b3
commit c9d854362d
3 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -757,6 +757,7 @@ function setup_ipfs {
su -c "systemctl --user start ipfs" - $MY_USERNAME
if [ -d /home/$MY_USERNAME/Public ]; then
rm /home/$MY_USERNAME/Desktop/Public
rm -rf /home/$MY_USERNAME/Public
fi
@ -803,6 +804,7 @@ function setup_ipfs {
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
ln -s /home/$MY_USERNAME/Public /home/$MY_USERNAME/Desktop/Public
su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
if [ ! -f $IPFS_PUBLIC ]; then
echo $'Unable to create public IPFS directory' >> $INSTALL_LOG

View File

@ -38,7 +38,7 @@ else
git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap
fi
cd vendor/vmdebootstrap
git checkout tags/vmdebootstrap-0.8
git checkout tags/vmdebootstrap-0.8 -b tags/vmdebootstrap-0.8
for f in ../../vendor-patches/vmdebootstrap/* ; do
echo applying $(basename $f)
patch -p1 < $f