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/
|
* non-install-dir/themes/
|
||||||
*
|
*
|
||||||
* /usr/[local]/bin/
|
* /usr/[local]/bin/
|
||||||
* /usr/[local]/share/ostinato/themes/
|
* /usr/[local]/share/ostinato-controller/themes/
|
||||||
*
|
*
|
||||||
* /opt/ostinato/bin/
|
* /opt/ostinato/bin/
|
||||||
* /opt/ostinato/share/themes/
|
* /opt/ostinato/share/themes/
|
||||||
*/
|
*/
|
||||||
if (themeDir_.contains(QRegularExpression("^/usr/.*/bin/")))
|
if (themeDir_.contains(QRegularExpression("^/usr/.*/bin/")))
|
||||||
themeDir_.replace("/bin/", "/share/ostinato/");
|
themeDir_.replace("/bin/", "/share/ostinato-controller/");
|
||||||
else if (themeDir_.contains(QRegularExpression("^/opt/.*/bin/")))
|
else if (themeDir_.contains(QRegularExpression("^/opt/.*/bin/")))
|
||||||
themeDir_.replace("/bin/", "/share/");
|
themeDir_.replace("/bin/", "/share/");
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
macx {
|
macx {
|
||||||
shared.path = $${PREFIX}/Ostinato/Ostinato.app/Contents/SharedSupport/
|
shared.path = $${PREFIX}/Ostinato/Ostinato.app/Contents/SharedSupport/
|
||||||
} else: unix {
|
} else: unix {
|
||||||
shared.path = $${PREFIX}/share/ostinato/
|
shared.path = $${PREFIX}/share/ostinato-controller/
|
||||||
} else {
|
} else {
|
||||||
shared.path = $${PREFIX}/bin
|
shared.path = $${PREFIX}/bin
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user