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:
Srivats P 2022-07-29 20:54:14 +05:30
parent 06ad12777f
commit 97068b97e3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
} }