Codebase list gcc-9-doc / debian/4.4.7-2
Fixed directory to symlink in updating. Guo Yixuan 11 years ago
4 changed file(s) with 51 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 gcc-4.4-doc-non-dfsg (4.4.7-2) unstable; urgency=low
1
2 * Fixed directory to symlink upgrading bug by adding postinst to
3 {cpp, gfortran, gnat}-4.4-doc. (Closes: #692119)
4 - /usr/share/doc/{cpp, gfortran, gnat}-4.4-doc was changed from
5 directorie to symlinks in 4.4.7-1.
6
7 -- Guo Yixuan <culu.gyx@gmail.com> Sun, 04 Nov 2012 13:30:34 +0800
8
09 gcc-4.4-doc-non-dfsg (4.4.7-1) unstable; urgency=low
110
211 * Updated to upstream version 4.4.7.
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 docdir="/usr/share/doc/cpp-@BV@-doc"
5 if [ "$1" = "configure" ] && [ -d "$docdir" ] && [ ! -L "$docdir" ]; then
6 if rmdir "$docdir" 2>/dev/null; then
7 ln -sf "gcc-@BV@-doc" "$docdir"
8 fi
9 fi
10
11 #DEBHELPER#
12
13 exit 0
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 docdir="/usr/share/doc/gfortran-@BV@-doc"
5 if [ "$1" = "configure" ] && [ -d "$docdir" ] && [ ! -L "$docdir" ]; then
6 if rmdir "$docdir" 2>/dev/null; then
7 ln -sf "gcc-@BV@-doc" "$docdir"
8 fi
9 fi
10
11 #DEBHELPER#
12
13 exit 0
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 docdir="/usr/share/doc/gnat-@BV@-doc"
5 if [ "$1" = "configure" ] && [ -d "$docdir" ] && [ ! -L "$docdir" ]; then
6 if rmdir "$docdir" 2>/dev/null; then
7 ln -sf "gcc-@BV@-doc" "$docdir"
8 fi
9 fi
10
11 #DEBHELPER#
12
13 exit 0