Import Debian version 0.3 debian/0.3
authorSteve McIntyre <steve@einval.com>
Sun, 13 Nov 2005 21:59:38 +0000 (21:59 +0000)
committerSteve McIntyre <steve@einval.com>
Fri, 7 Jun 2019 17:53:32 +0000 (18:53 +0100)
apt-update (0.3) stable; urgency=low

  * Move the config file to /etc/apt/update.conf

15 files changed:
apt-dist-upgrade
apt-update
debian/changelog
debian/conffiles
debian/preinst [new file with mode: 0644]
debian/rules
debian/tmp/DEBIAN/conffiles
debian/tmp/DEBIAN/control
debian/tmp/DEBIAN/md5sums
debian/tmp/DEBIAN/postinst [new file with mode: 0755]
debian/tmp/etc/apt/update.conf [moved from apt-update-roots with 100% similarity]
debian/tmp/etc/cron.daily/apt-update
debian/tmp/usr/sbin/apt-dist-upgrade
debian/tmp/usr/share/doc/apt-update/changelog.gz
update.conf [moved from debian/tmp/etc/apt-update-roots with 100% similarity]

index 166d183..650d70e 100755 (executable)
@@ -13,7 +13,7 @@ unset LANGUAGE
 unset LANG
 unset LC_ALL
 
-. /etc/apt-update-roots
+. /etc/apt/update.conf
 
 for CHROOT in $CHROOTS
 do
index 8236607..a5cf91d 100755 (executable)
@@ -13,7 +13,7 @@ unset LANGUAGE
 unset LANG
 unset LC_ALL
 
-. /etc/apt-update-roots
+. /etc/apt/update.conf
 
 for CHROOT in $CHROOTS
 do
index 668881d..db5d65c 100644 (file)
@@ -1,3 +1,9 @@
+apt-update (0.3) stable; urgency=low
+
+  * Move the config file to /etc/apt/update.conf
+       
+ -- Steve McIntyre <steve@einval.com>  Sun, 13 Nov 2005 21:59:38 +0000
+
 apt-update (0.2) stable; urgency=low
 
   * Various cleanups:
@@ -5,7 +11,7 @@ apt-update (0.2) stable; urgency=low
     + Optionally download debs when we run the update step
     + Only run apt-get clean after an apt-dist-upgrade has been run
     + Run extra user-supplied options on the apt-dist-upgrade step
-
+       
  -- Steve McIntyre <steve@einval.com>  Sun, 13 Nov 2005 21:35:38 +0000
 
 apt-update (0.1) stable; urgency=low
index 34d227f..26f9962 100644 (file)
@@ -1,2 +1,2 @@
-/etc/apt-update-roots
+/etc/apt/update.conf
 /etc/cron.daily/apt-update
diff --git a/debian/preinst b/debian/preinst
new file mode 100644 (file)
index 0000000..5f652c1
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+OLD=/etc/apt-update-roots
+NEW=/etc/apt/update.conf
+
+if [ ! -f $NEW ] && [ -f $OLD ] ; then
+    echo "Moving config file $OLD to $NEW"
+    mv -f $OLD $NEW
+fi
index e97137b..be5fef3 100755 (executable)
@@ -26,11 +26,11 @@ binary-arch: build
        dh_testdir
        dh_testroot
        dh_clean -k
-       dh_installdirs -A etc/cron.daily usr/sbin
+       dh_installdirs -A etc/cron.daily etc/apt usr/sbin
 
        install -m 755 apt-update debian/tmp/etc/cron.daily
        install -m 755 apt-dist-upgrade debian/tmp/usr/sbin
-       install -m 444 apt-update-roots debian/tmp/etc
+       install -m 444 update.conf debian/tmp/etc/apt
 
        dh_installdocs
        dh_installchangelogs
index 34d227f..26f9962 100644 (file)
@@ -1,2 +1,2 @@
-/etc/apt-update-roots
+/etc/apt/update.conf
 /etc/cron.daily/apt-update
index 1e7fdc3..f0c1298 100644 (file)
@@ -1,9 +1,9 @@
 Package: apt-update
-Version: 0.2
+Version: 0.3
 Section: base
 Priority: standard
 Architecture: all
-Installed-Size: 56
+Installed-Size: 60
 Maintainer: Steve McIntyre <steve@einval.com>
 Description: Useful apt wrappers
  Cron wrapper for buildd machines
index 2ff6431..aa11000 100644 (file)
@@ -1,5 +1,5 @@
-dba3da8f63d98dda506ac6cb34fcef49  etc/cron.daily/apt-update
-2c7defe1d7ad865f1ac25bf254f32d80  etc/apt-update-roots
-e0da3561a6b7f890225475028c37f9ac  usr/sbin/apt-dist-upgrade
+9e3945d446c700c560898e11e2e84fee  etc/cron.daily/apt-update
+2c7defe1d7ad865f1ac25bf254f32d80  etc/apt/update.conf
+a1a70c8227f2b9d331f7eb19d5dc9eb9  usr/sbin/apt-dist-upgrade
 ecba137529ebdecd0e9196e88a6ba3aa  usr/share/doc/apt-update/copyright
-e6557156cfa31ad4cad4592b79910a2d  usr/share/doc/apt-update/changelog.gz
+1de763a243d5db7df180b2055e4074c3  usr/share/doc/apt-update/changelog.gz
diff --git a/debian/tmp/DEBIAN/postinst b/debian/tmp/DEBIAN/postinst
new file mode 100755 (executable)
index 0000000..5f652c1
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+OLD=/etc/apt-update-roots
+NEW=/etc/apt/update.conf
+
+if [ ! -f $NEW ] && [ -f $OLD ] ; then
+    echo "Moving config file $OLD to $NEW"
+    mv -f $OLD $NEW
+fi
index 8236607..a5cf91d 100755 (executable)
@@ -13,7 +13,7 @@ unset LANGUAGE
 unset LANG
 unset LC_ALL
 
-. /etc/apt-update-roots
+. /etc/apt/update.conf
 
 for CHROOT in $CHROOTS
 do
index 166d183..650d70e 100755 (executable)
@@ -13,7 +13,7 @@ unset LANGUAGE
 unset LANG
 unset LC_ALL
 
-. /etc/apt-update-roots
+. /etc/apt/update.conf
 
 for CHROOT in $CHROOTS
 do
index 1432407..718c5cc 100644 (file)
Binary files a/debian/tmp/usr/share/doc/apt-update/changelog.gz and b/debian/tmp/usr/share/doc/apt-update/changelog.gz differ
similarity index 100%
rename from debian/tmp/etc/apt-update-roots
rename to update.conf