Merge branch 'master' into arm64
This commit is contained in:
commit
05a772481a
@ -6,7 +6,7 @@ debian-reference-en dillo
|
|||||||
raspberrypi-net-mods raspberrypi-ui-mods
|
raspberrypi-net-mods raspberrypi-ui-mods
|
||||||
python3-pip
|
python3-pip
|
||||||
python3-numpy
|
python3-numpy
|
||||||
alacarte rc-gui sense-hat
|
rc-gui sense-hat
|
||||||
tree
|
tree
|
||||||
libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr
|
libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr
|
||||||
geany
|
geany
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
#Alacarte fixes
|
|
||||||
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.local"
|
|
||||||
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.local/share"
|
|
||||||
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.local/share/applications"
|
|
||||||
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.local/share/desktop-directories"
|
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh -e
|
|
||||||
|
|
||||||
BOOKSHELF_URL="https://magpi.raspberrypi.com/bookshelf.xml"
|
|
||||||
GUIDE_URL="$(curl -s "$BOOKSHELF_URL" | awk -F '[<>]' "/<TITLE>Raspberry Pi Beginner's Guide .*<\/TITLE>/ {f=1; next} f==1 && /PDF/ {print \$3; exit}")"
|
|
||||||
OUTPUT="$(basename "$GUIDE_URL" | cut -f1 -d'?')"
|
|
||||||
|
|
||||||
if [ ! -f "files/$OUTPUT" ]; then
|
|
||||||
rm files/*.pdf -f
|
|
||||||
curl -s "$GUIDE_URL" -o "files/$OUTPUT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
file "files/$OUTPUT" | grep -q "PDF document"
|
|
||||||
|
|
||||||
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Bookshelf"
|
|
||||||
install -v -o 1000 -g 1000 -m 644 "files/$OUTPUT" "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Bookshelf/"
|
|
1
stage4/03-bookshelf/files/.gitignore
vendored
1
stage4/03-bookshelf/files/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
*.pdf
|
|
Loading…
x
Reference in New Issue
Block a user