Clean up /tmp
This commit is contained in:
parent
42769446a0
commit
9ec5ecc224
|
@ -5,6 +5,7 @@ set -o pipefail
|
|||
|
||||
npm config set unsafe-perm true
|
||||
PERL_MM_USE_DEFAULT=1 cpan App::cpanminus
|
||||
rm -rf /tmp/cpan_install_*.txt
|
||||
|
||||
# Befunge
|
||||
npm install -g befunge93 prompt-sync
|
||||
|
@ -36,4 +37,6 @@ pip3 install whitespace
|
|||
# Wolfram Language
|
||||
python3.7 -m pip install mathics
|
||||
|
||||
rm -f /tmp/core-js-banners
|
||||
|
||||
rm "$0"
|
||||
|
|
|
@ -12,6 +12,7 @@ rm watchexec-*.deb
|
|||
cd /tmp
|
||||
git clone https://github.com/circulosmeos/gdown.pl.git
|
||||
mv gdown.pl/gdown.pl /usr/bin/gdown
|
||||
rm -rf gdown.pl
|
||||
|
||||
cd /tmp
|
||||
wget https://get.haskellstack.org/stable/linux-x86_64-static.tar.gz
|
||||
|
|
|
@ -5,6 +5,8 @@ set -o pipefail
|
|||
|
||||
uid="$1"
|
||||
|
||||
rm -rf /tmp/hsperfdata_root
|
||||
|
||||
if [[ -n "$uid" ]] && (( "$uid" != 0 )); then
|
||||
useradd --uid="$uid" --create-home --groups sudo docker
|
||||
passwd -d docker
|
||||
|
|
Loading…
Reference in New Issue