]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 25 Jan 2009 00:45:01 +0000 (00:45 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 25 Jan 2009 00:45:01 +0000 (00:45 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@775 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/lib/common.sh
trunk/src/createpkg

index 6ce61eed5a0d469e1f15106537e3240138bb790d..d4c6bf84a34212ab3d60572559dccc543c685af8 100644 (file)
@@ -44,6 +44,7 @@ simplepkg changelog
       - 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
index 78b8be863e6529e1adde3c703d5fbc7ed4b6d2ed..555ecbc25d8df336856b128836e0e317f0dc3095 100644 (file)
@@ -853,7 +853,7 @@ function su_svn {
 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
 
@@ -862,7 +862,7 @@ function chown_svn {
 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
 
index fdd855eea1e15b9276ddcc739250ce301c55adf9..ee6a196fd472d4273bbac327492efb1aa227fec3 100644 (file)
@@ -731,6 +731,7 @@ cd $SCRIPT_BASE
 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."