We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948ff82 commit ea80098Copy full SHA for ea80098
aut-apps.sh
@@ -1,5 +1,5 @@
1
#! /usr/bin/env bash
2
-trap t-d-uninstaller SIGINT SIGTERM EXIT QUIT
+set -euo pipefail
3
if [[ $EUID -ne 0 ]]; then
4
echo "This script must be run as root" 1>&2
5
exit 1
@@ -8,8 +8,8 @@ function t-d-uninstaller {
8
rm -rf $tmp_dir
9
echo "Temporary directory uninstalled"
10
}
11
+trap t-d-uninstaller SIGINT SIGTERM EXIT QUIT
12
tmp_dir=$(mktemp -d -t pub_key-XXXXXX)
-set -euo pipefail
13
echo $tmp_dir
14
echo 'deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main'>/etc/apt/sources.list.d/google-chrome.list
15
echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
0 commit comments