5
0
mirror of git://git.proxmox.com/git/pve-zsync.git synced 2025-01-01 01:17:38 +03:00

Code clean up and rename Debian packet name.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
Wolfgang Link 2015-05-19 07:02:45 +02:00 committed by Dietmar Maurer
parent 0bc3e51091
commit 8362418a9f
4 changed files with 4 additions and 5 deletions

View File

@ -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}/ <control.in >debian/DEBIAN/control

View File

@ -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 <support@proxmox.com> So, 8 Mar 2015 18:34:19 +0100

View File

@ -1,4 +1,4 @@
Package: pve-zsync-perl
Package: pve-zsync
Version: @@VERSION@@-@@PKGRELEASE@@
Section: perl
Priority: optional

View File

@ -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 = "";