Created
May 7, 2015 13:11
-
-
Save zeroxia/7bfae5b6ec02f0e0d70f to your computer and use it in GitHub Desktop.
To install various links for rarlinux commands and related files.
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
#!/bin/sh | |
update-alternatives --install /usr/local/bin/rar rar /opt/rar/rar_static 50 \ | |
--slave /etc/rarreg.key rarreg.key /opt/rar/rarreg.key \ | |
--slave /etc/rarfiles.lst rarfiles.lst /opt/rar/rarfiles.lst \ | |
--slave /usr/local/lib/default.sfx default.sfx /opt/rar/default.sfx \ | |
--slave /usr/local/share/man/man1/rar.1.gz rar.1.gz /opt/rar/rar.1.gz \ | |
--slave /usr/local/bin/unrar unrar /opt/rar/unrar \ | |
--slave /usr/local/share/man/man1/unrar.1.gz unrar.1.gz /opt/rar/unrar.1.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may need to do this first: