mirror of https://github.com/tteck/Proxmox.git
Compare commits
4 Commits
912f0e01ba
...
ea1e30dfa9
Author | SHA1 | Date |
---|---|---|
|
ea1e30dfa9 | |
|
8bbb33b97b | |
|
a6b415bc36 | |
|
c7e4f370c6 |
|
@ -55,10 +55,7 @@ function default_settings() {
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_error "There is currently no update path available."
|
||||||
apt-get update &>/dev/null
|
|
||||||
apt-get -y upgrade &>/dev/null
|
|
||||||
msg_ok "Updated Successfully"
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,10 @@ $STD apt-get install -y libjpeg-dev
|
||||||
$STD apt-get install -y libtiff-dev
|
$STD apt-get install -y libtiff-dev
|
||||||
$STD apt-get install -y imagemagick
|
$STD apt-get install -y imagemagick
|
||||||
$STD apt-get install -y darktable
|
$STD apt-get install -y darktable
|
||||||
|
$STD apt-get install -y rawtherapee
|
||||||
|
|
||||||
|
echo 'export PATH=/usr/local:$PATH' >>~/.bashrc
|
||||||
|
export PATH=/usr/local:$PATH
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing PhotoPrism (Patience)"
|
msg_info "Installing PhotoPrism (Patience)"
|
||||||
|
|
|
@ -47,6 +47,7 @@ function error_exit() {
|
||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
||||||
|
if [ -e /etc/alpine-release ]; then echo -e "⚠️ Can't Install on Alpine"; exit; fi
|
||||||
while true; do
|
while true; do
|
||||||
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
|
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
|
|
Loading…
Reference in New Issue