diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2011-10-28 19:16:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-11-02 02:16:39 +0100 |
commit | 6fdae8a6a40d6a3b5f77516abaee23b3eab002f6 (patch) | |
tree | 8aaac96449411f44ea67e31c54f00d74fa167a36 /src/quotacheck.c | |
parent | 25d6283acfeb87730c2c0c4c2ef76a66fa397e87 (diff) |
Add Mageia support
This patch adds support for the Mageia Linux distribution:
http://www.mageia.org/
Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.
This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
Diffstat (limited to 'src/quotacheck.c')
-rw-r--r-- | src/quotacheck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quotacheck.c b/src/quotacheck.c index 98b59a090a..60033a8eb2 100644 --- a/src/quotacheck.c +++ b/src/quotacheck.c @@ -54,7 +54,7 @@ static int parse_proc_cmdline(void) { arg_skip = true; else if (startswith(w, "quotacheck.mode")) log_warning("Invalid quotacheck.mode= parameter. Ignoring."); -#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) +#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_MAGEIA) else if (strneq(w, "forcequotacheck", l)) arg_force = true; #endif @@ -65,8 +65,8 @@ static int parse_proc_cmdline(void) { } static void test_files(void) { -#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) - /* This exists only on Fedora or Mandriva */ +#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_MAGEIA) + /* This exists only on Fedora, Mandriva or Mageia */ if (access("/forcequotacheck", F_OK) >= 0) arg_force = true; #endif |