@ -19,7 +19,7 @@ The nice thing about Jekyll is it's a satic site generator and works after hours
# pax -rwlpp . /var/www/pickmy
# pax -rwlpp . /var/www/pickmy
# popd
# popd
```
```
<br><br>
The problem I was having is if a directory already existed; nothing would symlink. pax solved the problem, except pax copied data. I didn't need the redundancy.
The problem I was having is if a directory already existed; nothing would symlink. pax solved the problem, except pax copied data. I didn't need the redundancy.
@ -33,7 +33,7 @@ do
done
done
ln -s $WWW_STATIC/* $PUBLIC_WWW/
ln -s $WWW_STATIC/* $PUBLIC_WWW/
```
```
<br><br>
This is called as a seperate script in the githook that runs whenever I push a new post (or change) to the repository. It runs after site generation naturally. It gets a list of existing directories from the static directory; and if the directory exists, symlinks all the files in to it. It then goes back and runs a generic symlink of everything.
This is called as a seperate script in the githook that runs whenever I push a new post (or change) to the repository. It runs after site generation naturally. It gets a list of existing directories from the static directory; and if the directory exists, symlinks all the files in to it. It then goes back and runs a generic symlink of everything.