hook a script to apt-get
You can use dpkg
's hook system to remount it -- put this in /etc/apt/apt.conf.d/00exectmp
:
DPkg::Pre-Invoke {"mount -o remount,exec /tmp";};
DPkg::Post-Invoke {"mount -o remount /tmp";};
You can use dpkg
's hook system to remount it -- put this in /etc/apt/apt.conf.d/00exectmp
:
DPkg::Pre-Invoke {"mount -o remount,exec /tmp";};
DPkg::Post-Invoke {"mount -o remount /tmp";};