Move "update" remote command from base secchan into Debian packaging.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 18:04:31 +0000 (10:04 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 18:04:31 +0000 (10:04 -0800)
The update command only works with Debian anyway, so there's no point
in installing it elsewhere.

debian/commands/update [new file with mode: 0755]
secchan/commands/automake.mk
secchan/commands/update [deleted file]

diff --git a/debian/commands/update b/debian/commands/update
new file mode 100755 (executable)
index 0000000..545e3c2
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+set -e
+apt-get update -qy
+apt-get upgrade -qy
index 1b291f82159b68b157b1de3a8e9fb4df615989ef..cbe44d8c6bc8bd2ba58f04320f9761ba36e2a645 100644 (file)
@@ -1,4 +1,3 @@
 commandsdir = ${pkgdatadir}/commands
 dist_commands_SCRIPTS = \
-       secchan/commands/reboot \
-       secchan/commands/update
+       secchan/commands/reboot
diff --git a/secchan/commands/update b/secchan/commands/update
deleted file mode 100755 (executable)
index 545e3c2..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/sh
-set -e
-apt-get update -qy
-apt-get upgrade -qy