summaryrefslogtreecommitdiffstats
path: root/hosts/logi1/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/logi1/postinst')
-rw-r--r--hosts/logi1/postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index 3c21d0d..3f6a0f2 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -177,7 +177,9 @@ in_target rm -f 'ssic_1.0.0-1_all.deb'
# Convert wallpaper.
wp_dir='/usr/share/desktop-base/softwaves-theme/wallpaper/contents/images'
-in_target sudo -u pj convert "${wp_dir}/1280x1024.svg" 'png:/home/pj/.wallpaper'
+in_target sudo -u pj sh <<-EOF
+ rsvg-convert '${wp_dir}/1280x1024.svg' >'/home/pj/.wallpaper'
+ EOF
# Use temporary configuation SSH key.
install -d -o 1000 -g 1000 -m 0700 "${target}/home/pj/.ssh" || return 1