mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 06:00:39 +00:00
new config files
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@238 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
431b416470
commit
22aa3061cc
7 changed files with 69 additions and 0 deletions
2
debian/linkchecker-ssl.files
vendored
Normal file
2
debian/linkchecker-ssl.files
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
usr/lib/python2.0/site-packages/linkcheck/httpslib.py
|
||||
usr/lib/python2.0/site-packages/ssl.so
|
||||
7
debian/linkchecker-ssl.postinst.debhelper
vendored
Normal file
7
debian/linkchecker-ssl.postinst.debhelper
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Automatically added by dh_installdocs
|
||||
if [ "$1" = "configure" ]; then
|
||||
if [ -d /usr/doc -a ! -e /usr/doc/linkchecker-ssl -a -d /usr/share/doc/linkchecker-ssl ]; then
|
||||
ln -sf ../share/doc/linkchecker-ssl /usr/doc/linkchecker-ssl
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
5
debian/linkchecker-ssl.prerm.debhelper
vendored
Normal file
5
debian/linkchecker-ssl.prerm.debhelper
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Automatically added by dh_installdocs
|
||||
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/linkchecker-ssl ]; then
|
||||
rm -f /usr/doc/linkchecker-ssl
|
||||
fi
|
||||
# End automatically added section
|
||||
4
debian/linkchecker.dirs
vendored
Normal file
4
debian/linkchecker.dirs
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
etc
|
||||
usr/share/doc/linkchecker/test/output
|
||||
usr/share/doc/linkchecker/test/html
|
||||
usr/share/doc/linkchecker/examples
|
||||
4
debian/linkchecker.docs
vendored
Normal file
4
debian/linkchecker.docs
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
README
|
||||
TODO
|
||||
FAQ
|
||||
draft-gilman-news-url-00.txt
|
||||
31
debian/linkchecker.postinst
vendored
Executable file
31
debian/linkchecker.postinst
vendored
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh -e
|
||||
#
|
||||
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
|
||||
# used by Bastian Kleineidam for LinkChecker
|
||||
|
||||
DIRLIST="/usr/lib/python1.5/site-packages/linkcheck"
|
||||
FILELIST="linkcheckerConf.py"
|
||||
SITEPACKAGES="/usr/lib/python1.5/site-packages"
|
||||
COMMAND="'import sys,py_compile;py_compile.compile(sys.argv[1])'"
|
||||
|
||||
case "$1" in
|
||||
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
||||
for i in $DIRLIST; do
|
||||
python -O /usr/lib/python1.5/compileall.py -q $i
|
||||
python /usr/lib/python1.5/compileall.py -q $i
|
||||
done
|
||||
# use /bin/sh -c, otherwise I get a SyntaxError from Python
|
||||
for i in $FILELIST; do
|
||||
/bin/sh -c "python -O -c $COMMAND $SITEPACKAGES/$i"
|
||||
/bin/sh -c "python -c $COMMAND $SITEPACKAGES/$i"
|
||||
done
|
||||
;;
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
16
debian/linkchecker.prerm
vendored
Executable file
16
debian/linkchecker.prerm
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh -e
|
||||
#
|
||||
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
|
||||
# used by Bastian Kleineidam for LinkChecker
|
||||
|
||||
PACKAGE=linkchecker
|
||||
|
||||
dpkg --listfiles $PACKAGE |
|
||||
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
|
||||
xargs rm -f >&2
|
||||
|
||||
rmdir /usr/lib/python1.5/site-packages/linkcheck 2>/dev/null || true
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Loading…
Reference in a new issue