From b9bb274e602747731e0d1d49a1e5c5658681d3ed Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 1 May 2023 20:37:25 +0200 Subject: [PATCH] fixed permission problem - but i dont like it --- makeanything.sh | 3 ++- rootdir/usr/share/nanodesk/version | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/makeanything.sh b/makeanything.sh index 4f09b0e..e1bd27f 100755 --- a/makeanything.sh +++ b/makeanything.sh @@ -98,7 +98,8 @@ KERNEL_VER="$($CHROOTCMD /usr/bin/dpkg -l "linux-image-*" | awk '{print $2}' | grep -E 'linux-image-[0-9]\.([0-9]|[0-9][0-9])\.([0-9]|[0-9][0-9])-([0-9]|[0-9][0-9]).*-amd64$')" message "using Kernel $KERNEL_VER" -sed "s/%KERNEL_VER%/${KERNEL_VER}/g" templates/nanodesk-installer.tpl.sh > build/chroot/root/nanodesk-installer.sh +sudo sed "s/%KERNEL_VER%/${KERNEL_VER}/g" templates/nanodesk-installer.tpl.sh > build/tmp/nanodesk-installer.sh +sudo cp build/tmp/nanodesk-installer.sh build/chroot/root/nanodesk-installer.sh sudo chmod +x build/chroot/root/nanodesk-installer.sh message "convert rootdir/usr/share/nanodesk/firstlogin/*.md to .html" diff --git a/rootdir/usr/share/nanodesk/version b/rootdir/usr/share/nanodesk/version index e4f1a98..b48acf7 100644 --- a/rootdir/usr/share/nanodesk/version +++ b/rootdir/usr/share/nanodesk/version @@ -1 +1 @@ -v0.1.3-11-g2b670a8 +v0.1.3-13-g8263e9e