mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Update
This commit is contained in:
parent
986bcaaa0d
commit
c9115da871
@ -14,22 +14,25 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y imagemagick xvfb libxcomposite1
|
$STD apt-get install -y \
|
||||||
|
sudo \
|
||||||
|
curl \
|
||||||
|
mc \
|
||||||
|
imagemagick \
|
||||||
|
xvfb \
|
||||||
|
libxcomposite1
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Calibre (latest)"
|
msg_info "Installing Calibre"
|
||||||
# If your container runs as root, you generally do not need to prefix with `sudo`.
|
# If your container runs as root, you generally do not need to prefix with `sudo`.
|
||||||
# The official Calibre instructions:
|
# The official Calibre instructions:
|
||||||
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
|
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
|
||||||
msg_ok "Installed Calibre"
|
|
||||||
|
|
||||||
msg_info "Creating calibre system user & directories"
|
|
||||||
useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre
|
useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre
|
||||||
mkdir -p /opt/calibre/calibre-library
|
mkdir -p /opt/calibre/calibre-library
|
||||||
chown -R calibre:calibre /opt/calibre
|
chown -R calibre:calibre /opt/calibre
|
||||||
msg_ok "Created calibre user & directories"
|
msg_ok "Installed Calibre"
|
||||||
|
|
||||||
msg_info "Creating systemd service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/calibre-server.service
|
cat <<EOF >/etc/systemd/system/calibre-server.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Calibre Content Server
|
Description=Calibre Content Server
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"documentation": null,
|
"documentation": null,
|
||||||
"website": "https://calibre-ebook.com",
|
"website": "https://calibre-ebook.com",
|
||||||
"logo": "https://calibre-ebook.com/resources/icons/calibre_icon.png",
|
"logo": "https://calibre-ebook.com/resources/icons/calibre_icon.png",
|
||||||
"description": "Calibre content server is usedto manage and serve eBooks over the network.",
|
"description": "Calibre content server is used to manage and serve eBooks over the network.",
|
||||||
"install_methods": [
|
"install_methods": [
|
||||||
{
|
{
|
||||||
"type": "default",
|
"type": "default",
|
||||||
|
Loading…
Reference in New Issue
Block a user