# Use /usr/share instead of /opt as otrs "home".

diff -Naur otrs-5.0.1.orig/Kernel/Config.pm.dist otrs-5.0.1/Kernel/Config.pm.dist
--- otrs-5.0.1.orig/Kernel/Config.pm.dist	2015-09-24 17:56:03.000000000 +0200
+++ otrs-5.0.1/Kernel/Config.pm.dist	2015-10-22 09:55:13.882594203 +0200
@@ -64,7 +64,7 @@
     # ---------------------------------------------------- #
     # fs root directory
     # ---------------------------------------------------- #
-    $Self->{Home} = '/opt/otrs';
+    $Self->{Home} = '/usr/share/otrs';
 
     # ---------------------------------------------------- #
     # insert your own config settings "here"               #
diff -Naur otrs-5.0.1.orig/scripts/apache2-perl-startup.pl otrs-5.0.1/scripts/apache2-perl-startup.pl
--- otrs-5.0.1.orig/scripts/apache2-perl-startup.pl	2015-09-24 17:56:08.000000000 +0200
+++ otrs-5.0.1/scripts/apache2-perl-startup.pl	2015-10-22 09:55:13.882594203 +0200
@@ -34,16 +34,16 @@
     # on Fedora, $0 is not a path which would break OTRS.
     # see bug # 8533
     if ( !-e $0 ) {
-        $0 = '/opt/otrs/bin/cgi-bin/index.pl';
+        $0 = '/usr/share/otrs/bin/cgi-bin/index.pl';
     }
 }
 
 use Apache2::RequestRec;
 use ModPerl::Util;
 
-use lib "/opt/otrs/";
-use lib "/opt/otrs/Kernel/cpan-lib";
-use lib "/opt/otrs/Custom";
+use lib "/usr/share/otrs/";
+use lib "/usr/share/otrs/Kernel/cpan-lib";
+use lib "/usr/share/otrs/Custom";
 
 # Preload frequently used modules to speed up client spawning.
 use CGI ();
