summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff')
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff b/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff
new file mode 100644
index 000000000000..ab0ec495cc7a
--- /dev/null
+++ b/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff
@@ -0,0 +1,14 @@
+diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter
+--- rkhunter.orig/files/rkhunter 2005-02-21 23:22:16.277815344 -0500
++++ rkhunter/files/rkhunter 2005-02-21 23:25:43.586299664 -0500
+@@ -2072,8 +2072,8 @@
+ then
+ logtext "Info: using ${TMPDIR} as temporary directory"
+ else
+- logtext "Fatal: temporary directory ${TMPDIR} doesn't exist." >> ${DEBUGFILE}
+- exit 1
++ logtext "Info: ${TMPDIR} not present. Creating it." >> ${DEBUGFILE}
++ mkdir -p ${TMPDIR}
+ fi
+
+ if [ `${BINPREFIX}id -u` = "0" ]