On 08/15/2011 06:16 AM, Nathan Angelacos wrote:
> From: Nathan Angelacos<nangel@tetrasec.net>
>
> add a "purge" command - delete the temporary database backup
The idea here is to delete the temporary database dump after an lbu
commit has completed:
-- /etc/lbu/pre-package.d/postgresdump --
#!/bin/sh
/etc/init.d/pg-restore dump
-- /etc/lbu/post-package.d/postgresdump --
#!/bin/sh
/etc/init.d/pg-restore purge
Otherwise the temporary file is never removed.
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---