The ideascube package requires sudo
The postinst
script contains the following lines:
echo "Running migration"
sudo -u $NAME /usr/bin/ideascube migrate --noinput -v 1
echo "Running collectstatic"
sudo -u $NAME /usr/bin/ideascube collectstatic --noinput -v 1
These lines fail on a fresh Jessie install, as sudo
is not installed by default.
The ideascube
package should therefore have a dependency on the sudo
package.
Alternatively, if we stop running migrate
/collectstatic
operations in postinst
(cf #294 (closed)), then there would be no need to add the dependency.