fixed permission problem - but i dont like it

This commit is contained in:
Marcus 2023-05-01 20:37:25 +02:00
parent 8263e9eed0
commit b9bb274e60
2 changed files with 3 additions and 2 deletions

View file

@ -98,7 +98,8 @@ KERNEL_VER="$($CHROOTCMD /usr/bin/dpkg -l "linux-image-*" |
awk '{print $2}' | 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$')" 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" 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 sudo chmod +x build/chroot/root/nanodesk-installer.sh
message "convert rootdir/usr/share/nanodesk/firstlogin/*.md to .html" message "convert rootdir/usr/share/nanodesk/firstlogin/*.md to .html"

View file

@ -1 +1 @@
v0.1.3-11-g2b670a8 v0.1.3-13-g8263e9e