A wrapper is installed that makes the programs use freedesktop-compatible locations for the property files and the error file.
If anyone finds it useful...
Moderator: Moderators
There are reasons for this. There are features in RMIR that will not work if the installation folder is read-only. One such feature, for example, is that it will not work with XSight remotes. I do not regard this as a defect and have no intention of fixing it. Bengt (Barf) and I have different philosophies about such things. Feel free to use this script by all means, but be aware that there are some features that will not work.To install RMIR for any OS, first unzip the installation package to a new folder that is not read-only.
Code: Select all
$ ./download-install.sh --help
Usage: ./download-install.sh [OPTIONS] [zip-file]
Installs RMIR, RMDU, and RMPB in the system, compatible with the
Freedesktop standard (https://www.freedesktop.org).
If a zip-file is not given as argument, it is downloaded from
https://sourceforge.net/projects/controlremote/files/latest/download.
Options:
    -d, --development                 Try to download from the development folder instead of "latest".
    -?, -h, --help                    Display this help and exit.
    -j, --java command-for-java       Command to invoke Java, default "java".
    -s, --scale scale-factor          scale factor for the GUI, default 1. Not supported by all JVMs.
    -H, --rmhome RM-install-dir       Directory in which to install, default /home/bengt/share/rmir.
    -l, --link directory-for-links    Directory in which to create start links, default /home/bengt/bin.
    -u, --uninstall                   Undo previous installation.
    -w, --writeable-install           Write config and logs in installation directory.
This script should be run with the privileges necessary for writing
to the locations selected.
Thanks for the quick fix. Sorry I did not explain, I was having trouble pasting the errors and it sent before I was ready.Barf wrote:Lurker, thank you for the problem report (although it was somewhat hard to understand at first).
The problem is that I invoked RMIR's setup.sh, which is not written to be invoked without an attached terminal; as you see, it loops. I have rewritten my script not to use that script, just download it again.