Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14151

`upgrade_iredadmin.sh` + Custom iRedAdmin Location = File Editing

$
0
0

This is more of a simple request, could you add a command line argument so that if I run the command as such:

bash upgrade_iredadmin.sh /opt

or

bash upgrade_iredadmin.sh /opt/iredadmin

(the variable saved in this reference should still be `/opt`)
it'll use /opt/iredadmin instead of /usr/share/apache/iredadmin [Ubuntu]
Its a trivial few lines of code for you that save your users having to edit the update script if they have moved the location of iredadmin, if you'd like me to write some code to save you having to do this then just let me know.

Thanks,
Michael


Viewing all articles
Browse latest Browse all 14151