From da55c7723d7c638bd459b67c48e6d58c540f9cf5 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Mon, 22 Aug 2011 00:24:20 +0000 Subject: [PATCH] Ajout XZ_UTILS et remplacement XFree86.0.log par Xorg.0.log dans le script rotatelogs --- stage2/hv-install-1 | 6 +----- stage2/hv-install-2 | 1 + stage2/hv-utilities/rotatelogs | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/stage2/hv-install-1 b/stage2/hv-install-1 index 81693d8..f596347 100755 --- a/stage2/hv-install-1 +++ b/stage2/hv-install-1 @@ -3,11 +3,7 @@ source ../functions/main source /etc/profile -if [ "x${USER}" != "xroot" ]; then - echo "You must be the superuser to install hvlinux." - exit 1 -fi - +check_for_root_user init_log_file rscr mult "Performing pre-install" pre-install diff --git a/stage2/hv-install-2 b/stage2/hv-install-2 index cb11bcb..7bc9846 100755 --- a/stage2/hv-install-2 +++ b/stage2/hv-install-2 @@ -18,6 +18,7 @@ ipkg ${GZIP} ipkg ${KBD} ipkg ${LESS} ipkg ${MAKE_PACKAGE} +ipkg ${XZ_UTILS} ipkg ${MAN_DB} "\ --libexecdir=/usr/lib \ --disable-setuid \ diff --git a/stage2/hv-utilities/rotatelogs b/stage2/hv-utilities/rotatelogs index 2a02fae..735c1d4 100755 --- a/stage2/hv-utilities/rotatelogs +++ b/stage2/hv-utilities/rotatelogs @@ -6,7 +6,7 @@ BACKUP_LOGDIR="/var/log/backup" LOGDIR_GLOBAL=/var/log -LOGFILES_GLOBAL="auth.log clamd.log freshclam.log cron.log daemon.log kern.log mail.log procmail.log scrollkeeper.log sys.log user.log xdm.log XFree86.0.log" +LOGFILES_GLOBAL="auth.log clamd.log freshclam.log cron.log daemon.log kern.log mail.log procmail.log scrollkeeper.log sys.log user.log xdm.log Xorg.0.log" LOGDIR_APACHE=/var/log/apache LOGFILES_APACHE="access_log error_log ssl_request_log" -- 2.20.1