Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > cedef3a8ba2eba485c367c1d3a4bab71 > files > 12

etckeeper-1.10-1.fc18.noarch.rpm

#!/bin/sh
if [ -n "$PUSH_REMOTE" ]; then
	if [ "$VCS" = git ] && [ -d .git ]; then
		git push "$PUSH_REMOTE" master || true
	elif [ "$VCS" = hg ] && [ -d .hg ]; then
		hg push "$PUSH_REMOTE" || true
	else
		echo "PUSH_REMOTE not yet supported for $VCS" >&2
	fi
fi