fixed support for symlinks in /usr/share/locale/

This commit is contained in:
Дмитрий Левин 2004-02-28 20:38:57 +00:00
parent 2f57ee4005
commit de79eac6b5

View File

@ -138,7 +138,7 @@ s:^\([^%].*\)::
' |grep -v '^$' >> "$OUTFILE" ||:
find "$TOPDIR" -type l |sed '
s:'"$TOPDIR"'::
s:\(.*/share/locale/\)\([^/_]\+\)\(.*'"$NAME"'\.mo$\):%lang(\2) %attr(root,-,-) \1\2\3:
s:\(.*/share/locale/\)\([^/_]\+\)\(.*'"$NAME"'\.mo$\):%lang(\2) %attr(-,root,root) \1\2\3:
s:^\([^%].*\)::
' |grep -v '^$' >> "$OUTFILE" ||:
fi