]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
mkbuild: commenting code about only root commiting code
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 1 Dec 2008 16:42:50 +0000 (16:42 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 1 Dec 2008 16:42:50 +0000 (16:42 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@617 04377dda-e619-0410-9926-eae83683ac58

trunk/src/mkbuild

index d15af0fb5385fda5d63ea7eb3bdf4c5e1e57d1e4..4778869e2284ffd7ba3ea1181170e02e8e4a7422 100755 (executable)
@@ -563,10 +563,10 @@ function apply_mkpatch {
 function submit_slackbuild {
 
   # Submit SlackBuild in local Slack.Sarava tree
-  if [ $UID -ne 0 ]; then
-    echo "Only root can submit SlackBuilds..."
-    return 1
-  fi
+  #if [ $UID -ne 0 ]; then
+  #  echo "Only root can submit SlackBuilds..."
+  #  return 1
+  #fi
   echo -e "\nCommit $SLACKBUILD"
 
   # check SlackBuilds directory
@@ -596,10 +596,10 @@ function submit_slackbuild {
 function submit_mkbuild {
 
   # Submit mkbuild in local mkbuild Slack.Sarava tree
-  if [ $UID -ne 0 ]; then
-    echo "Only root can submit mkbuild..."
-    return 1
-  fi
+  #if [ $UID -ne 0 ]; then
+  #  echo "Only root can submit mkbuild..."
+  #  return 1
+  #fi
   echo -e "\nCommit $MKBUILD_NAME"
 
   # check mkbuild directory