Skip to content

Commit

Permalink
Merge pull request #397 from jmlich/fix-path
Browse files Browse the repository at this point in the history
chirp.raw should be in /usr/share/harbour-amazfishd
  • Loading branch information
piggz authored Sep 27, 2024
2 parents 40ee174 + abbaeda commit faee8ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daemon/daemon.pro
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ systemd_services.path = $$PREFIX/lib/systemd/user/
systemd_services.files = $$OUT_PWD/harbour-amazfish.service
systemd_services.CONFIG += no_check_exist

chirp.path = $$PREFIX/share/harbour-amazfish/
chirp.path = $$PREFIX/share/harbour-amazfishd/
chirp.files = chirp.raw

#Install appropriate files for each system
Expand Down
4 changes: 2 additions & 2 deletions daemon/src/deviceinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,9 @@ void DeviceInterface::findDevice()


#ifdef MER_EDITION_SAILFISH
QFile file("/usr/share/harbour-amazfish/chirp.raw");
QFile file("/usr/share/harbour-amazfishd/chirp.raw");
#else // elif defined(UUITK_EDITION)
QFile file("/opt/click.ubuntu.com/uk.co.piggz.amazfish/current/share/harbour-amazfish/chirp.raw");
QFile file("/opt/click.ubuntu.com/uk.co.piggz.amazfish/current/share/harbour-amazfishd/chirp.raw");
#endif

if(!file.open(QIODevice::ReadOnly))
Expand Down
2 changes: 1 addition & 1 deletion rpm/harbour-amazfish.spec
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ desktop-file-install --delete-original \
%{_datadir}/icons/hicolor/scalable/apps/%{name}-ui.svg
%{_userunitdir}/harbour-amazfish.service
%{_datadir}/mapplauncherd/privileges.d/harbour-amazfishd.privileges
%{_datadir}/harbour-amazfish/chirp.raw
%{_datadir}/harbour-amazfishd/chirp.raw
# >> files
# << files

0 comments on commit faee8ea

Please sign in to comment.