Hi
I'm preparing the PPA for sage 7.4. In the postinst script I run sage once as root to set hardcoded paths (which may have been replaced by replocate-once.py??).
It fails to run under apt or dpkg --configure with
/usr/lib/sagemath/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100_input.pyc in __init__(self=<prompt_toolkit
.terminal.vt100_input.raw_mode object>, fileno=0)
--> 409 self.attrs_before = termios.tcgetattr(fileno)
error: (25, 'Inappropriate ioctl for device')
But I can run sage in a terminal. Is it safe to remove 'running sage once as root to set hardcoded paths' from the postinst?