Last active
June 8, 2020 06:17
-
-
Save reneeb/a38acdba6b9558f964dcf27feca8d9ab to your computer and use it in GitHub Desktop.
bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function enmod() { | |
cd /opt/otrs | |
perl -I/opt/otrs/Kernel/cpan-lib -I/opt/otrs -I/home/otrsvm/module-tools/lib /home/otrsvm/module-tools/bin/otrs.ModuleTools.pl Module::Package::Install /home/otrsvm/OTRS/$1 /opt/otrs --verbose | |
perl bin/otrs.Console.pl Maint::Config::Rebuild | |
} | |
function dismod() { | |
cd /opt/otrs | |
perl -I/opt/otrs/Kernel/cpan-lib -I/opt/otrs -I/home/otrsvm/modules-tools/lib /home/otrsvm/module-tools/bin/otrs.ModuleTools.pl Module::Package::Uninstall /home/otrsvm/OTRS/$1 /opt/otrs --verbose | |
perl bin/otrs.Console.pl Maint::Config::Rebuild | |
} | |
function buildmod() { | |
cd /home/otrsvm/OTRS/$1 | |
opmbuild sopm . | |
opmbuild build --output /home/otrsvm $1.sopm | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment