diff options
author | Ken Moore <ken@ixsystems.com> | 2018-11-16 13:22:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-16 13:22:52 -0500 |
commit | 19bbf7be055470552c2e16dd3ed987b7ead817aa (patch) | |
tree | 95814ec2046df0965ae770c312dc5aef139795dc | |
parent | Merge pull request #626 from lbartoletti/lumina-photo (diff) | |
download | lumina-19bbf7be055470552c2e16dd3ed987b7ead817aa.tar.gz lumina-19bbf7be055470552c2e16dd3ed987b7ead817aa.tar.bz2 lumina-19bbf7be055470552c2e16dd3ed987b7ead817aa.zip |
Update BootSplash.cpp
Add ${PREFIX}/bin/ to the search paths for the lumina-motd file.
-rw-r--r-- | src-qt5/core/lumina-desktop/BootSplash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/BootSplash.cpp b/src-qt5/core/lumina-desktop/BootSplash.cpp index 1095d5e5..cdf1a3c2 100644 --- a/src-qt5/core/lumina-desktop/BootSplash.cpp +++ b/src-qt5/core/lumina-desktop/BootSplash.cpp @@ -26,7 +26,7 @@ void BootSplash::generateTipOfTheDay(){ if (disablequotes){ ui->label_welcome->setText(""); return; } //Try to find a system-defined message of the day for lumina - QStringList dirs; dirs << LOS::AppPrefix()+"/etc/" << LOS::SysPrefix()+"/etc/" << L_ETCDIR+"/"; + QStringList dirs; dirs << LOS::AppPrefix()+"/bin/" << LOS::SysPrefix()+"/bin" << LOS::AppPrefix()+"/etc/" << LOS::SysPrefix()+"/etc/" << L_ETCDIR+"/"; QString sysMOTD = "lumina-motd"; for(int i=0; i<dirs.length(); i++){ if(QFile::exists(dirs[i]+sysMOTD)){ sysMOTD.prepend(dirs[i]); break; } |