preinst is in musiclibrarian 1.6-2.1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #!/bin/sh
set -e
# Automatically added by dh_pycentral
if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
pycentral pkgprepare musiclibrarian <<PYEOF
[python-package]
format = 1
python-version = all
[pycentral]
version = 0.6.6
[files]
/usr/share/musiclibrarian/plugins/id3file.py=f
/usr/share/musiclibrarian/plugins/oggfile.py=f
/usr/share/musiclibrarian/plugins/player.py=f
/usr/share/musiclibrarian/plugins/playmp3.py=f
/usr/share/musiclibrarian/plugins/tageditor.py=f
/usr/share/pyshared/musiclibrarian=d
/usr/share/pyshared/musiclibrarian/__init__.py=f
/usr/share/pyshared/musiclibrarian/cache.py=f
/usr/share/pyshared/musiclibrarian/config.py=f
/usr/share/pyshared/musiclibrarian/configfile.py=f
/usr/share/pyshared/musiclibrarian/filecollection.py=f
/usr/share/pyshared/musiclibrarian/filelist.py=f
/usr/share/pyshared/musiclibrarian/filestore.py=f
/usr/share/pyshared/musiclibrarian/genreset.py=f
/usr/share/pyshared/musiclibrarian/library.py=f
/usr/share/pyshared/musiclibrarian/libraryeditor.py=f
/usr/share/pyshared/musiclibrarian/libraryview.py=f
/usr/share/pyshared/musiclibrarian/listenable.py=f
/usr/share/pyshared/musiclibrarian/musicfile.py=f
/usr/share/pyshared/musiclibrarian/organize.py=f
/usr/share/pyshared/musiclibrarian/plugins.py=f
/usr/share/pyshared/musiclibrarian/progress.py=f
/usr/share/pyshared/musiclibrarian/serialize.py=f
/usr/share/pyshared/musiclibrarian/sort.py=f
/usr/share/pyshared/musiclibrarian/status.py=f
/usr/share/pyshared/musiclibrarian/tags.py=f
/usr/share/pyshared/musiclibrarian/toplevel.py=f
/usr/share/pyshared/musiclibrarian/treemodel.py=f
/usr/share/pyshared/musiclibrarian/undo.py=f
/usr/share/pyshared/musiclibrarian/weak.py=f
/usr/share/pyshared/musiclibrarian-1.6.egg-info=f
PYEOF
else
mkdir -p /var/lib/pycentral
echo musiclibrarian >> /var/lib/pycentral/delayed-pkgs
fi
# End automatically added section
|