From 179d843c896f6ff55e324b76d1cb754c65297f5d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 21 Jul 2012 14:40:50 -0400 Subject: Implement "push" command. --- (limited to 'src/deb.sh') diff --git a/src/deb.sh b/src/deb.sh index e6269fb..40defaf 100755 --- a/src/deb.sh +++ b/src/deb.sh @@ -19,7 +19,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -COMMANDS='init config update download edit builddsc' +COMMANDS='init config update download edit builddsc push' CONFIG_NAMES='mirror distribution component remote buildcmd' main() @@ -348,4 +348,20 @@ EOF > "${DEB_TREE}/pkgs/${pkg}/${pkg}.debdiff" } +cmd_push() +{ + find_deb_dir + config_load + + if [ ${#} -ne 0 ]; then + cat >&2 <