summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-01-24 15:12:16 +0000
committerFrancois Pons <fpons@mandriva.com>2000-01-24 15:12:16 +0000
commita31aa764b35315eda2caf3bd269db45fc56a9d66 (patch)
treedf5c8c426e21dddb236a4e600ab7162c1806c758 /perl-install/Makefile
parent7fa1fd93ecd790ae288102dcb4ec4cf3ca3bc760 (diff)
downloaddrakx-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar
drakx-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.gz
drakx-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.bz2
drakx-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.xz
drakx-a31aa764b35315eda2caf3bd269db45fc56a9d66.zip
*** empty log message ***
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index ebad67be4..ddc412be3 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -136,7 +136,7 @@ endif
tar xyC $(DEST) -f ../install/install1_pcmcia.tar.bz2 ./etc/pcmcia
full_stage2:
- $(SUDO) rm -rf $(DEST)
+ if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi
mkdir -p $(DEST)
$(MAKE) get_needed_files
$(MAKE) stage2