summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/directory.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-04 11:53:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-04 11:53:46 +0000
commitd75e5326a100a8477a6378e1d70bb9a374993cad (patch)
tree09fa6ecc058696c6045d3ffd8d620236e0f86819 /mdk-stage1/directory.c
parent28799498ed2b2253aaa68dbb74be9612b9cd3d64 (diff)
downloaddrakx-d75e5326a100a8477a6378e1d70bb9a374993cad.tar
drakx-d75e5326a100a8477a6378e1d70bb9a374993cad.tar.gz
drakx-d75e5326a100a8477a6378e1d70bb9a374993cad.tar.bz2
drakx-d75e5326a100a8477a6378e1d70bb9a374993cad.tar.xz
drakx-d75e5326a100a8477a6378e1d70bb9a374993cad.zip
drop IS_SPECIAL_STAGE2 in favor of IS_RESCUE
Diffstat (limited to 'mdk-stage1/directory.c')
-rw-r--r--mdk-stage1/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c
index 97221bcfa..6a5bc96f9 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -79,7 +79,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
strcpy(install_location, IMAGE_LOCATION);
- if (IS_SPECIAL_STAGE2 || ramdisk_possible())
+ if (IS_RESCUE || ramdisk_possible())
strcat(install_location, get_ramdisk_realname()); /* RAMDISK install */
else
strcat(install_location, LIVE_LOCATION); /* LIVE install */
@@ -143,7 +143,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
add_to_env("METHOD", method_live);
}
#ifndef MANDRAKE_MOVE
- if (IS_SPECIAL_STAGE2 || ((loopdev || streq(method_live, "disk")) && ramdisk_possible())) {
+ if (IS_RESCUE || ((loopdev || streq(method_live, "disk")) && ramdisk_possible())) {
/* RAMDISK install */
if (access(IMAGE_LOCATION RAMDISK_LOCATION, R_OK)) {
stg1_error_message("I can't find the " DISTRIB_NAME " Distribution in the specified directory. "