- config() on postinstall_script now accepting .dist and .sample config file extensions
- added git_source section
- createpkg:
+ - fakeroot support
- new options --import, --status, --update and --commit to manage subversion repository, among others
- subversion integration
- minor changes
function chown_svn {
# set svn folder ownership
- if [ ! -z "$SVN_USER" ] && [ ! -e "$1" ]; then
+ if [ ! -z "$SVN_USER" ] && [ -e "$1" ]; then
chown -R $SVN_USER $1
fi
function chgrp_svn {
# set svn folder group
- if [ ! -z "$SVN_GROUP" ] && [ ! -e "$1" ]; then
+ if [ ! -z "$SVN_GROUP" ] && [ -e "$1" ]; then
chgrp -R $SVN_GROUP $1
fi
if [ "`whoami`" != "root" ]; then
FAKEROOT="`which fakeroot`"
if [ "$?" == "0" ]; then
+ eecho $messag "Running SlackBuild with fakeroot."
FAKEROOT="$FAKEROOT --"
else
eecho $messag "$BASENAME: WARNING: not running as root and no fakeroot found."