Skip to content

Commit 7904e22

Browse files
author
Dave Slotter
committed
Final tweaks for 3.0 release
1 parent c6175b9 commit 7904e22

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

files/etc/hampi-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PRETTY_NAME="HamPi 3.0 (May 2022)"
1+
PRETTY_NAME="HamPi 3.0 64-bit (May 2022)"
22
NAME="HamPi"
33
VERSION_ID="3,0"
44
VERSION="3.0 (May 2022)"

tasks/install_lopora.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
6262
- name: Copy Lopora desktop file
6363
become: yes
64-
copy:
65-
src: "{{ playbook_dir }}/../files/usr/local/share/applications/lopora.desktop"
64+
template:
65+
src: "{{ playbook_dir }}/../templates/usr/local/share/applications/lopora.desktop.j2"
6666
dest: "/usr/local/share/applications/lopora.desktop"
67+
owner: root
68+
group: root
69+
mode: 0644

tasks/install_noaa_apt.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@
5353

5454
- name: Copy noaa-apt desktop file
5555
become: yes
56-
copy:
57-
src: "{{ playbook_dir }}/../files/usr/local/share/applications/noaa-apt.desktop"
56+
template:
57+
src: "{{ playbook_dir }}/../files/usr/local/share/applications/noaa-apt.desktop.j2"
5858
dest: "/usr/local/share/applications/noaa-apt.desktop"
59+
owner: root
60+
group: root
61+
mode: 0644
5962

6063
- name: Remove RUST installer
6164
file: dest=/tmp/initrust.sh state=absent
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
cd /home/hampi/hamradio/D-Rats/
3+
cd /home/{{ ham_user }}/hamradio/D-Rats/
44
if [ $? != 0 ]; then
55
echo "Updating D-Rats failed. (cd)"
66
exit $?

files/usr/local/share/applications/lopora.desktop renamed to templates/usr/local/share/applications/lopora.desktop.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Version=1.0
44
Name=Lopora
55
GenericName=QRSS Beacon Reception
66
Comment=Lopora is a QRSS Beacon Reception program
7-
Exec=/home/pi/lopora/scriptfiles/quickstartlopora-pi.sh
8-
Path=/home/pi/lopora
7+
Exec=/home/{{ ham_user}}/lopora/scriptfiles/quickstartlopora-pi.sh
8+
Path=/home/{{ ham_user}}/lopora
99
Terminal=false
1010
StartupNotify=true
1111
Categories=Utility;HamRadio

files/usr/local/share/applications/noaa-apt.desktop renamed to templates/usr/local/share/applications/noaa-apt.desktop.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Name=NOAA Apt Image Decoder
33
GenericName=NOAA Apt Image Decoder
44
Comment=Image decoder for APT signals from NOAA satellites
5-
Exec=/home/pi/hamradio/noaa-apt/target/release/noaa-apt
6-
Path=/home/pi/hamradio/noaa-apt
7-
Icon=/home/pi/hamradio/noaa-apt/res/icon.png
5+
Exec=/home/{{ ham_user}}/hamradio/noaa-apt/target/release/noaa-apt
6+
Path=/home/{{ ham_user}}/hamradio/noaa-apt
7+
Icon=/home/{{ ham_user}}/hamradio/noaa-apt/res/icon.png
88
Terminal=false
99
Type=Application
1010
Categories=HamRadio

0 commit comments

Comments
 (0)