1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Allow installing the terminfo file for dtterm to also work with path as

/usr/share/terminfo as well as /usr/share/lib/terminfo

This allows fully functioning dtterm on Ubuntu 12.04 on which the terminfo file
failed to install.
This commit is contained in:
Peter Howkins 2012-07-27 14:39:08 +01:00
parent da72e94e7f
commit be57b53232

View file

@ -157,7 +157,16 @@ doDttermTerminfo()
chgrp bin /usr/share/lib/terminfo/d/dtterm
chmod 644 /usr/share/lib/terminfo/d/dtterm
else
echo "Unable to compile $DT_TOP/config/dtterm.ti"
if [ -f /usr/share/terminfo/d/dtterm ]
then
chown bin /usr/share/terminfo/d/dtterm
chgrp bin /usr/share/terminfo/d/dtterm
chmod 644 /usr/share/terminfo/d/dtterm
fi
fi
if [ ! -f /usr/share/lib/terminfo/d/dtterm -a ! -f /usr/share/terminfo/d/dtterm ]
then
echo "Unable to compile $DT_TOP/config/dtterm.ti"
fi
else
echo "Unable to find $DT_TOP/config/dtterm.ti"