Use /usr/share/ostinato-controller/themes on Linux
This is because the Ostinato packaging reccomendation is to use ostinato-agent and ostinato-controller package names. The ostinato package is a meta package containing the aforementioned sub-packages
This commit is contained in:
parent
06ad12777f
commit
97068b97e3
@ -49,13 +49,13 @@ ThemeManager::ThemeManager()
|
||||
* non-install-dir/themes/
|
||||
*
|
||||
* /usr/[local]/bin/
|
||||
* /usr/[local]/share/ostinato/themes/
|
||||
* /usr/[local]/share/ostinato-controller/themes/
|
||||
*
|
||||
* /opt/ostinato/bin/
|
||||
* /opt/ostinato/share/themes/
|
||||
*/
|
||||
if (themeDir_.contains(QRegularExpression("^/usr/.*/bin/")))
|
||||
themeDir_.replace("/bin/", "/share/ostinato/");
|
||||
themeDir_.replace("/bin/", "/share/ostinato-controller/");
|
||||
else if (themeDir_.contains(QRegularExpression("^/opt/.*/bin/")))
|
||||
themeDir_.replace("/bin/", "/share/");
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
macx {
|
||||
shared.path = $${PREFIX}/Ostinato/Ostinato.app/Contents/SharedSupport/
|
||||
} else: unix {
|
||||
shared.path = $${PREFIX}/share/ostinato/
|
||||
shared.path = $${PREFIX}/share/ostinato-controller/
|
||||
} else {
|
||||
shared.path = $${PREFIX}/bin
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user