File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ if [ " $( id -u) " -eq 0 ]; then
3+ echo " You are root, please run this script as a non-root user."
4+ exit 1
5+ fi
6+ echo " Branding ObsidianOS..."
7+ sudo curl -fL https://obsidianos.xyz/os-release -o /etc/os-release
8+ echo " Branding /etc/issue..."
9+ sudo curl -fL https://obsidianos.xyz/issue -o /etc/issue
10+ echo " Attempting to add ObsidianOS branding packages..."
11+ if command -v yay > /dev/null 2>&1 ; then
12+ echo " Found yay"
13+ yay -S obsidianos-branding obos-genissue-git --overwrite ' *' --noconfirm --needed
14+ fi
15+ echo " Attempting to add obsidianctl..."
16+ if command -v yay > /dev/null 2>&1 ; then
17+ echo " Found yay"
18+ yay -S obsidianctl-git --overwrite ' *' --noconfirm --needed
19+ fi
20+ echo " Done!"
21+ echo " If using Arch based ObsidianOS install the AUR package obos-genissue-git."
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments