Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 2094
Collapse All | Expand All

(-)/tmp/scrollkeeper-0.2-r3.ebuild (-1 / +11 lines)
Lines 39-49 Link Here
39
	make DESTDIR=${D} install || die
39
	make DESTDIR=${D} install || die
40
40
41
	dodoc AUTHORS COPYING* ChangeLog README NEWS
41
	dodoc AUTHORS COPYING* ChangeLog README NEWS
42
43
        echo ">>> Fixing symlinks... "
44
        cd ${D}/usr/share/scrollkeeper/Templates
45
        for a in $( ls -l | grep "lrwxrwxrwx" | tr " " "*" ); do
46
          ORIG=`echo $a | tr "*" " " | awk '{print $9}'`
47
          DEST=`echo $a | tr "*" " " | awk -F "/" '{print $12}'`
48
          rm $ORIG
49
          ln -s $DEST $ORIG
50
        done
51
42
}
52
}
43
53
44
pkg_postinst() {
54
pkg_postinst() {
45
	echo ">>> Updating Scrollkeeper database..."
55
	echo ">>> Updating Scrollkeeper database..."
46
	scrollkeeper-update >/dev/null 2>&1
56
	scrollkeeper-update >/dev/null 2>&1        
47
}
57
}
48
58
49
pkg_postrm() {
59
pkg_postrm() {

Return to bug 2094