mirror of
https://github.com/hsoft/vagrant-lxc-base-boxes
synced 2024-04-29 02:08:54 +00:00
00a4664d73
and remove ${LOG}. It's a bit of a useless mechanism and, in fact a hindrance. Why not just let the user redirect stdout?
15 lines
186 B
Bash
15 lines
186 B
Bash
#!/bin/bash
|
|
set -e
|
|
source /etc/profile
|
|
|
|
echo "Cleaning up"
|
|
|
|
rm /script.sh
|
|
|
|
echo 'Removing temporary files...'
|
|
rm -rf /tmp/*
|
|
|
|
echo 'cleaning up distfiles'
|
|
rm -f /usr/portage/distfiles/*
|
|
|