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 8b54b3a commit 948ff82Copy full SHA for 948ff82
aut-apps.sh
@@ -1,15 +1,14 @@
1
#! /usr/bin/env bash
2
+trap t-d-uninstaller SIGINT SIGTERM EXIT QUIT
3
if [[ $EUID -ne 0 ]]; then
4
echo "This script must be run as root" 1>&2
5
exit 1
6
fi
7
function t-d-uninstaller {
8
rm -rf $tmp_dir
9
echo "Temporary directory uninstalled"
- exit 1
10
}
11
tmp_dir=$(mktemp -d -t pub_key-XXXXXX)
12
-trap t-d-uninstaller SIGINT SIGTERM EXIT QUIT
13
set -euo pipefail
14
echo $tmp_dir
15
echo 'deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main'>/etc/apt/sources.list.d/google-chrome.list
0 commit comments