Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
rkhunter
rkhunter-installer-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rkhunter-installer-fix.patch of Package rkhunter
Index: installer.sh =================================================================== --- installer.sh.orig +++ installer.sh @@ -131,7 +131,7 @@ selectTemplate() { # Take input from the /usr|/usr/local|default|custom_*|RPM|DEB|TGZ|TXZ) case "$1" in default) - PREFIX="/usr/local" + PREFIX="/usr" ;; custom_*) PREFIX=`echo "${RKHINST_LAYOUT}" | sed 's|custom_||g'` @@ -165,9 +165,9 @@ selectTemplate() { # Take input from the if [ -n "${RPM_BUILD_ROOT}" ]; then if [ "${RPM_BUILD_ROOT}" = "/" ]; then RPM_USING_ROOT=1 - PREFIX="/usr/local" + PREFIX="/usr" else - PREFIX="${RPM_BUILD_ROOT}/usr/local" + PREFIX="${RPM_BUILD_ROOT}/usr" fi else echo "RPM installation chosen but \$RPM_BUILD_ROOT variable not found. Exiting." @@ -233,7 +233,7 @@ selectTemplate() { # Take input from the esac case "$1" in - /usr/local|custom_*) + /usr|custom_*) SYSCONFIGDIR="${PREFIX}/etc" ;; RPM) @@ -411,7 +411,7 @@ selectTemplate() { # Take input from the else RKHINST_DB_DIR="${VARDIR}/lib/${APPNAME}/db" RKHINST_TMP_DIR="${VARDIR}/lib/${APPNAME}/tmp" - RKHINST_DOC_DIR="${SHAREDIR}/doc/${APPNAME}-${APPVERSION}" + RKHINST_DOC_DIR="${SHAREDIR}/doc/packages/${APPNAME}-${APPVERSION}" fi RKHINST_LANG_DIR="${RKHINST_DB_DIR}/i18n"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor