iankelling.org
/
git
/
automated-distro-installer
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
various fixes
[automated-distro-installer]
/
faiserver-uninstall
1
#!/bin/bash
2
3
set -eE -o
pipefail
4
trap
'echo "
$0
:
$LINENO
:error:
\"
$BASH_COMMAND
\"
returned $?" >&2'
ERR
5
6
[[
$EUID
==
0
]]
||
exec
sudo
"
${BASH_SOURCE}
"
"$@"
7
8
9
apt-get
-y
purge $
(< /
etc
/
fai
/
fai-manually-installed-packages
)