Skip to content

Commit b1e4d19

Browse files
committed
oneshot: Fix argument count issue with custom hostname
The new hostnme was treated like multiple arguments causing the oneshot to fail on first boot and still using the default generated hostname... I really should've tested the command before committing :^)
1 parent 7e428d0 commit b1e4d19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rpm/jolla-configuration-cheeseburger.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Name: jolla-configuration-%{device}
55
Summary: Jolla Configuration %{device}
6-
Version: 1.4.0
6+
Version: 1.4.1
77
Release: 0
88
License: BSD-3-Clause
99
Source: %{name}-%{version}.tar.gz
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
set -e
33
if [ ! -f /etc/hostname ]; then
4-
hostnamectl set-hostname `ssu-sysinfo --pretty-name | cut -d'(' -f1 | xargs`
4+
hostnamectl set-hostname "$(ssu-sysinfo --pretty-name | cut -d'(' -f1 | xargs)"
55
fi

0 commit comments

Comments
 (0)