From 292a00b1207c07a6795ec0121a7a65eb56e02d9c Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 27 Nov 2008 23:51:27 +0000 Subject: minor cleanup git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@564 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'trunk/src/createpkg') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 49b3cfb..42c4043 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -611,14 +611,7 @@ if [ $MOVE_BIN_PACKAGE -eq $on ]; then # Move package's slack-required to binary repository if [ $MOVE_SLACK_REQUIRED -eq $on ]; then if [ ! -z "$SLACK_REQUIRED" ]; then - cp $SLACK_REQUIRED $NEW_REPOS/$PACKAGE.slack-required - if [ -d "$NEW_REPOS/.svn" ] && ! svn_check $NEW_REPOS/$PACKAGE.slack-required; then - cwd="`pwd`" - cd $NEW_REPOS - chown_svn $MAKEPKG_REPOS && chgrp_svn $MAKEPKG_REPOS - su_svn add $PACKAGE.slack-required - cd $cwd - fi + svn_copy $SLACK_REQUIRED $NEW_REPOS/$PACKAGE.slack-required fi fi -- cgit v1.2.3