checkout
This commit is contained in:
parent
e6ff0888b3
commit
c9d854362d
Binary file not shown.
|
@ -757,6 +757,7 @@ function setup_ipfs {
|
||||||
su -c "systemctl --user start ipfs" - $MY_USERNAME
|
su -c "systemctl --user start ipfs" - $MY_USERNAME
|
||||||
|
|
||||||
if [ -d /home/$MY_USERNAME/Public ]; then
|
if [ -d /home/$MY_USERNAME/Public ]; then
|
||||||
|
rm /home/$MY_USERNAME/Desktop/Public
|
||||||
rm -rf /home/$MY_USERNAME/Public
|
rm -rf /home/$MY_USERNAME/Public
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -803,6 +804,7 @@ function setup_ipfs {
|
||||||
mkdir /home/$MY_USERNAME/Public
|
mkdir /home/$MY_USERNAME/Public
|
||||||
echo $'Files within this directory will be publicly visible on the network' > /home/$MY_USERNAME/Public/README.txt
|
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
|
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
|
su -c "echo \$($IPFS_COMMAND add -rq /home/$MY_USERNAME/Public | tail -n 1) > $IPFS_PUBLIC" - $MY_USERNAME
|
||||||
if [ ! -f $IPFS_PUBLIC ]; then
|
if [ ! -f $IPFS_PUBLIC ]; then
|
||||||
echo $'Unable to create public IPFS directory' >> $INSTALL_LOG
|
echo $'Unable to create public IPFS directory' >> $INSTALL_LOG
|
||||||
|
|
|
@ -38,7 +38,7 @@ else
|
||||||
git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap
|
git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap
|
||||||
fi
|
fi
|
||||||
cd vendor/vmdebootstrap
|
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
|
for f in ../../vendor-patches/vmdebootstrap/* ; do
|
||||||
echo applying $(basename $f)
|
echo applying $(basename $f)
|
||||||
patch -p1 < $f
|
patch -p1 < $f
|
||||||
|
|
Loading…
Reference in New Issue