From 8362418a9f39b24927d38c54b8243e0490171740 Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Tue, 19 May 2015 07:02:45 +0200 Subject: [PATCH] Code clean up and rename Debian packet name. Signed-off-by: Wolfgang Link --- Makefile | 2 +- changelog.Debian | 3 +-- control.in | 2 +- pve-zsync | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f0b8bb2..5b4e160 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ deb ${DEB}: install -d debian/var/lib/pve-zsync install -d debian/etc/cron.d/ echo "SHELL=/bin/sh" >> debian/etc/cron.d/pve-zsync - echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" >> debian/etc/cron.d/pve-zsync + echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" >> debian/etc/cron.d/pve-zsync make DESTDIR=${CURDIR}/debian install install -d -m 0755 debian/DEBIAN sed -e s/@@VERSION@@/${VERSION}/ -e s/@@PKGRELEASE@@/${PKGREL}/ -e s/@@ARCH@@/${ARCH}/ debian/DEBIAN/control diff --git a/changelog.Debian b/changelog.Debian index 60db576..2bdafa5 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,6 +1,5 @@ -libpve-pvesync-perl (0.0-1) unstable; urgency=low +pve-zsync (0.0-1) unstable; urgency=low * initial package -- Proxmox Support Team So, 8 Mar 2015 18:34:19 +0100 - diff --git a/control.in b/control.in index 895896b..e56ab8b 100644 --- a/control.in +++ b/control.in @@ -1,4 +1,4 @@ -Package: pve-zsync-perl +Package: pve-zsync Version: @@VERSION@@-@@PKGRELEASE@@ Section: perl Priority: optional diff --git a/pve-zsync b/pve-zsync index b187e6c..9d6f868 100644 --- a/pve-zsync +++ b/pve-zsync @@ -326,7 +326,7 @@ sub init { my $check = check_pool_exsits($source->{abs_path}, $source->{ip}) if !$source->{vmid} && $source->{abs_path}; die "Pool $source->{abs_path} does not exists\n" if undef($check); - + my $add_job = sub { my ($vm, $name) = @_; my $source = "";