|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: lib/sde-package/new.in |
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
@ -11,12 +11,15 @@ |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
#set -x |
|
|
|
package_new() { |
|
|
|
local method= |
|
|
|
if [ "$1" = "-fm" ]; then |
|
|
|
method="freshmeat" |
|
|
|
shift |
|
|
|
elif [ "$1" = "-deb" ];then |
|
|
|
shift |
|
|
|
exec python ./lib/sde-package/new-debian.py "$@" |
|
|
|
fi |
|
|
|
|
|
|
|
# new package |
|
|
@ -65,7 +68,7 @@ package_new() { |
|
|
|
fm_name=${1:-$new_package} |
|
|
|
exec /bin/bash ./lib/sde-package/new-freshmeat.sh ${new_repository#$SDEROOT/package/}/$new_package "$fm_name" |
|
|
|
;; |
|
|
|
*) exec /bin/sh ./lib/sde-package/new.sh ${new_repository#$SDEROOT/package/}/$new_package "$@" |
|
|
|
*) exec /bin/sh ./lib/sde-package/new.sh ${new_repository#$SDEROOT/package/} "$@" |
|
|
|
;; |
|
|
|
esac |
|
|
|
} |