v1.1.0: Validated Debian Installer
This commit is contained in:
parent
0bdd903418
commit
6e011be320
|
|
@ -13,12 +13,12 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "chapters/01_Getting_Started.md",
|
"file": "chapters/AppendixA.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "01_Getting_Started"
|
"title": "AppendixA"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -270,11 +270,11 @@
|
||||||
},
|
},
|
||||||
"active": "01161538f53367e8",
|
"active": "01161538f53367e8",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"chapters/01_Getting_Started.md",
|
||||||
"conf/sedBapyXA",
|
"conf/sedBapyXA",
|
||||||
"conf/sedYZ2rBJ",
|
"conf/sedYZ2rBJ",
|
||||||
"conf/sedbEPwZC",
|
"conf/sedbEPwZC",
|
||||||
"chapters/02_Usage.md",
|
"chapters/02_Usage.md",
|
||||||
"chapters/01_Getting_Started.md",
|
|
||||||
"chapters/04_Design.md",
|
"chapters/04_Design.md",
|
||||||
"README.md",
|
"README.md",
|
||||||
"chapters/00_Introduction.md",
|
"chapters/00_Introduction.md",
|
||||||
|
|
@ -287,7 +287,6 @@
|
||||||
"conf/sedsOEcAe",
|
"conf/sedsOEcAe",
|
||||||
"conf/sedwM39Vv",
|
"conf/sedwM39Vv",
|
||||||
"conf/sedqNCjeN",
|
"conf/sedqNCjeN",
|
||||||
"conf/sedKOEUG1",
|
|
||||||
"chapters/AppendixA.md",
|
"chapters/AppendixA.md",
|
||||||
"templates/frontmatter-docx.md",
|
"templates/frontmatter-docx.md",
|
||||||
"chapters/AppendixB.md",
|
"chapters/AppendixB.md",
|
||||||
|
|
|
||||||
|
|
@ -54,13 +54,48 @@ mkdir -p build/pdf build/html build/latex build/epub build/md
|
||||||
mkdir -p scripts/tmp
|
mkdir -p scripts/tmp
|
||||||
mkdir -p lib/img lib/diag
|
mkdir -p lib/img lib/diag
|
||||||
|
|
||||||
# 7. Optional Tools (Checks if they are installed, otherwise prompts)
|
|
||||||
echo "🔍 Checking for optional tools..."
|
# 7. Obsidian Setup
|
||||||
for tool in foliate calibre epubcheck; do
|
echo "📦 Installing Obsidian..."
|
||||||
if ! command -v $tool &> /dev/null; then
|
wget -O scripts/tmp/obsidian_1.9.14_amd64.deb https://github.com/obsidianmd/obsidian-releases/releases/download/v1.9.14/obsidian_1.9.14_amd64.deb
|
||||||
echo "💡 Tip: You might want to 'sudo apt install $tool' for better EPub testing."
|
sudo apt install -y ./scripts/tmp/obsidian_1.9.14_amd64.deb
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
# 8. Zotero Setup
|
||||||
|
echo "📦 Installing Zotero..."
|
||||||
|
|
||||||
|
sudo mkdir -p /usr/share/keyrings
|
||||||
|
|
||||||
|
# Install key (direct binary key, no gpg needed)
|
||||||
|
# sudo curl -fsSL \
|
||||||
|
# https://raw.githubusercontent.com/retorquere/zotero-deb/master/zotero-archive-keyring.gpg \
|
||||||
|
# -o /usr/share/keyrings/zotero-archive-keyring.gpg
|
||||||
|
|
||||||
|
# sudo chmod 644 /usr/share/keyrings/zotero-archive-keyring.gpg
|
||||||
|
|
||||||
|
# # Add repository (use tee, not echo >)
|
||||||
|
# echo "deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://zotero.retorque.re/file/apt-package-archive ./" \
|
||||||
|
# | sudo tee /etc/apt/sources.list.d/zotero.list > /dev/null
|
||||||
|
|
||||||
|
curl -sL https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash -s -- -m sources
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y zotero
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 9. Optional Tools (Checks if they are installed, otherwise prompts)
|
||||||
|
# echo "🔍 Checking for optional tools..."
|
||||||
|
# for tool in foliate calibre epubcheck; do
|
||||||
|
# if ! command -v $tool &> /dev/null; then
|
||||||
|
# echo "💡 Tip: You might want to 'sudo apt install $tool' for better EPub testing."
|
||||||
|
# fi
|
||||||
|
# done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "---------------------------------------------------"
|
echo "---------------------------------------------------"
|
||||||
echo "🎉 Setup Complete!"
|
echo "🎉 Setup Complete!"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue