#!/bin/bash -e

install -d -o 1000 -g 1000 /home/user/Documents/

wget -q -O - https://bareboat-necessities.github.io/my-bareboat/bareboat-os.pdf > /home/user/Documents/bareboat-os.pdf
#wget -q -O - https://bareboat-necessities.github.io/my-bareboat/index.pdf > /home/user/Documents/my-bareboat.pdf


bash -c 'cat << EOF > /usr/local/share/applications/os-guide.desktop
[Desktop Entry]
Type=Application
Name=OS Guide
GenericName=OS Guide
Comment=OS Guide
Exec=evince /home/user/Documents/bareboat-os.pdf
Terminal=false
Icon=help-browser
Categories=Utility;
EOF'
