This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gitosis setup instructions for Fedora | |
# copied from http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way | |
# and modified to work on Fedora | |
# Comment out the next two lines after you've changed this script to match your config | |
echo "This is not meant to be run as a script!" | |
exit 0 | |
# do you have setuptools or distribute? if not, run these commands | |
cd ~/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# update macports and list outdated software | |
HOST=$(hostname|sed "s/.local//") | |
/bin/echo "=== Update MacPorts" | /opt/local/bin/gawk '{print strftime("%b %d %H:%M:%S"),"'${HOST}'",$0; fflush() }' | |
/opt/local/bin/port selfupdate --nosync 2>&1 | /opt/local/bin/gawk '{print strftime("%b %d %H:%M:%S"),"'${HOST}'",$0; fflush() }' |