diff options
| author | Chris Lumens <clumens@redhat.com> | 2011-01-24 15:18:02 -0500 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2011-01-24 15:18:02 -0500 |
| commit | 2dfd09f3527cb057551d3469dc41e4ce9f9f6b53 (patch) | |
| tree | c161fbab01fec69d431f36126b0e0b8bc3d98e06 /data | |
| parent | 1fb2747c5a7a0e9d11ac6b90d039fb3f97ffa421 (diff) | |
| download | anaconda-2dfd09f3527cb057551d3469dc41e4ce9f9f6b53.tar.gz anaconda-2dfd09f3527cb057551d3469dc41e4ce9f9f6b53.tar.xz anaconda-2dfd09f3527cb057551d3469dc41e4ce9f9f6b53.zip | |
Only remove /tmp/updates and /tmp/updates.img if they exist.
Diffstat (limited to 'data')
| -rwxr-xr-x | data/liveinst/liveinst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst index 741697818..c806d5e25 100755 --- a/data/liveinst/liveinst +++ b/data/liveinst/liveinst @@ -135,7 +135,8 @@ else $ANACONDA $* fi -rm -r /tmp/updates /tmp/updates.img +if [ -e /tmp/updates ]; then rm -r /tmp/updates; fi +if [ -e /tmp/updates.img ]; then rm /tmp/updates.img; fi # try to teardown the filesystems if this was an image install if [ $IMAGE_INSTALL = 1 -a $RESCUE = 0 ]; then |
