[Pkg-salt-team] Uploaded repository - some issues remain
martin f krafft
madduck at debian.org
Sun Apr 7 05:23:37 UTC 2013
also sprach Joe Healy <joehealy at gmail.com> [2013.04.07.0644 +0200]:
> > 3. ensure through postinst that no such file is left on the
> > systems after the install.
>
> Given the warning at
> http://www.debian.org/doc/manuals/maint-guide/dother.en.html#maintscripts,
> should we ignore the error completely and wait for upstream to fix
> it in the next release?
>
> Or should we push on and learn (will take a few days though)?
You should ignore the warning.
However, removing the file(s) in postinst would mean that they are
still in the source package. I don't think that is necessary and
I may have been wrong with my suggestion.
Assuming you use debhelper 7 and a very short debian/rules file, you
should be able to inject a hook post-install. See the dh(1) manpage,
e.g.
override_dh_install:
dh_install
rm -r debian/tmp/path/to/.DS_store
Depending on your source package format, this will cause a diff to
be auto-generated on every package build, which is okay for now.
Don't use -f as you want this to fail (so you can remove it) once
the file no longer exists.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
"if a packet hits a pocket on a socket on a port,
and the bus is interrupted at a very last resort,
and the access of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report."
-- <speedstream>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-salt-team/attachments/20130407/d7ef69d3/attachment.pgp>
More information about the pkg-salt-team
mailing list