mirror of
git://git.proxmox.com/git/pve-zsync.git
synced 2025-01-18 14:03:35 +03:00
Code clean up and rename Debian packet name.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
parent
0bc3e51091
commit
8362418a9f
2
Makefile
2
Makefile
@ -47,7 +47,7 @@ deb ${DEB}:
|
|||||||
install -d debian/var/lib/pve-zsync
|
install -d debian/var/lib/pve-zsync
|
||||||
install -d debian/etc/cron.d/
|
install -d debian/etc/cron.d/
|
||||||
echo "SHELL=/bin/sh" >> debian/etc/cron.d/pve-zsync
|
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
|
make DESTDIR=${CURDIR}/debian install
|
||||||
install -d -m 0755 debian/DEBIAN
|
install -d -m 0755 debian/DEBIAN
|
||||||
sed -e s/@@VERSION@@/${VERSION}/ -e s/@@PKGRELEASE@@/${PKGREL}/ -e s/@@ARCH@@/${ARCH}/ <control.in >debian/DEBIAN/control
|
sed -e s/@@VERSION@@/${VERSION}/ -e s/@@PKGRELEASE@@/${PKGREL}/ -e s/@@ARCH@@/${ARCH}/ <control.in >debian/DEBIAN/control
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
libpve-pvesync-perl (0.0-1) unstable; urgency=low
|
pve-zsync (0.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* initial package
|
* initial package
|
||||||
|
|
||||||
-- Proxmox Support Team <support@proxmox.com> So, 8 Mar 2015 18:34:19 +0100
|
-- Proxmox Support Team <support@proxmox.com> So, 8 Mar 2015 18:34:19 +0100
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Package: pve-zsync-perl
|
Package: pve-zsync
|
||||||
Version: @@VERSION@@-@@PKGRELEASE@@
|
Version: @@VERSION@@-@@PKGRELEASE@@
|
||||||
Section: perl
|
Section: perl
|
||||||
Priority: optional
|
Priority: optional
|
||||||
|
@ -326,7 +326,7 @@ sub init {
|
|||||||
my $check = check_pool_exsits($source->{abs_path}, $source->{ip}) if !$source->{vmid} && $source->{abs_path};
|
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);
|
die "Pool $source->{abs_path} does not exists\n" if undef($check);
|
||||||
|
|
||||||
my $add_job = sub {
|
my $add_job = sub {
|
||||||
my ($vm, $name) = @_;
|
my ($vm, $name) = @_;
|
||||||
my $source = "";
|
my $source = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user