It seems to me that the post installation script aborts with status 1 if fglrx is not installed.
There is in postinst:
# Make sure we use the discrete card has_aticonfig="$(which aticonfig)"
if [ X"$has_aticonfig" != X ]; then aticonfig --px-dgpu || true
fi
At least on my system if I try it in a shell
has_aticonfig="$(which aticonfig)"
gives an exit code of 1 (I do not have an aticonfig executable anywhere in my path).
Wouldn't it be reasonable to change it to
has_aticonfig="$(which aticonfig || true)"
to cater for systems where aticonfig is not present (due to fglrx not being installed)?
It seems to me that the post installation script aborts with status 1 if fglrx is not installed.
There is in postinst:
has_ aticonfig= "$(which aticonfig)"
aticonfig --px-dgpu || true
# Make sure we use the discrete card
if [ X"$has_aticonfig" != X ]; then
fi
At least on my system if I try it in a shell "$(which aticonfig)"
has_aticonfig=
gives an exit code of 1 (I do not have an aticonfig executable anywhere in my path).
Wouldn't it be reasonable to change it to
to cater for systems where aticonfig is not present (due to fglrx not being installed)?