mirror of https://github.com/tteck/Proxmox.git
				
				
				
			grammar
This commit is contained in:
		
							parent
							
								
									202827ce41
								
							
						
					
					
						commit
						c44ab752e4
					
				| 
						 | 
				
			
			@ -74,7 +74,7 @@ msg_ok "Started AdguardHome"
 | 
			
		|||
msg_info "Cleaning Up"
 | 
			
		||||
rm -rf AdGuardHome_linux_amd64.tar.gz AdGuardHome adguard-backup
 | 
			
		||||
msg_ok "Cleaned"
 | 
			
		||||
msg_ok "Update Successful"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -356,7 +356,7 @@ msg_info "Updating ${APP} LXC"
 | 
			
		|||
pacman-key --init
 | 
			
		||||
pacman-key --populate archlinux
 | 
			
		||||
pacman -Sy archlinux-keyring && pacman -Su
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ msg_ok "Updated ${APP} LXC"
 | 
			
		|||
msg_info "Starting ${APP} LXC"
 | 
			
		||||
systemctl start autobrr.service
 | 
			
		||||
msg_ok "Started ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,8 +55,7 @@ header_info
 | 
			
		|||
if [[ ! -f /etc/systemd/system/changedetection.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
pip3 install changedetection.io --upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -82,7 +82,7 @@ msg_ok "Cleaned"
 | 
			
		|||
msg_info "Starting Dashy"
 | 
			
		||||
systemctl start dashy
 | 
			
		||||
msg_ok "Started Dashy"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ msg_ok "Updated ${APP}"
 | 
			
		|||
msg_info "Starting ${APP}"
 | 
			
		||||
systemctl start emby-server
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,7 +64,7 @@ msg_ok "Updated ESPHome"
 | 
			
		|||
msg_info "Starting ESPHome"
 | 
			
		||||
systemctl start esphomeDashboard
 | 
			
		||||
msg_ok "Started ESPHome"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -59,8 +59,7 @@ wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
 | 
			
		|||
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,8 +55,7 @@ header_info
 | 
			
		|||
if [[ ! -f /etc/apache2/sites-available/grocy.conf ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP}"
 | 
			
		||||
bash /var/www/html/update.sh
 | 
			
		||||
msg_ok "Updated ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -136,7 +136,7 @@ msg_info "Starting ${APP}"
 | 
			
		|||
systemctl enable --now heimdall.service &>/dev/null
 | 
			
		||||
sleep 2
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,7 +63,7 @@ git pull --force &>/dev/null
 | 
			
		|||
pnpm install &>/dev/null
 | 
			
		||||
pnpm build &>/dev/null
 | 
			
		||||
systemctl start homepage
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -80,7 +80,7 @@ msg_ok "Cleaned"
 | 
			
		|||
msg_info "Starting ${APP}"
 | 
			
		||||
systemctl start homer
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then msg_error "No ${APP} I
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get install -y hyperion &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,8 +60,7 @@ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https
 | 
			
		|||
rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /opt/iobroker ]]; then msg_error "No ${APP} Installation Found!"; exi
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/k0s/k0s.yaml ]]; then msg_error "No ${APP} Installation Found!";
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/systemd/system/keycloak.service ]]; then msg_error "No ${APP} In
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -58,8 +58,7 @@ msg_info "Updating ${APP} LXC"
 | 
			
		|||
cd /opt/magicmirror
 | 
			
		||||
git pull &>/dev/null
 | 
			
		||||
npm install --only=prod --omit=dev &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/mariadb.list ]]; then msg_error "No ${APP} In
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /opt/meshcentral ]]; then msg_error "No ${APP} Installation Found!";
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,8 +55,7 @@ header_info
 | 
			
		|||
if [[ ! -f /etc/systemd/system/motioneye.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
pip install motioneye --upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/mosquitto-bullseye.list ]]; then msg_error "N
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ header_info
 | 
			
		|||
if [[ ! -f /etc/systemd/system/n8n.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
npm update -g n8n &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ rm Navidrome.tar.gz
 | 
			
		|||
msg_info "${GN} Starting ${APP}"
 | 
			
		||||
systemctl start navidrome.service
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /lib/systemd/system/nextcloud-domain.service ]]; then msg_error "No $
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -174,7 +174,7 @@ EOF
 | 
			
		|||
  rm -rf ~/nginx-proxy-manager-* s6-overlay-noarch.tar.xz s6-overlay-x86_64.tar.xz
 | 
			
		||||
  msg_ok "Cleaned"
 | 
			
		||||
 | 
			
		||||
  msg_ok "Update Successfull"
 | 
			
		||||
  msg_ok "Updated Successfully"
 | 
			
		||||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -58,8 +58,7 @@ cd /opt/nocodb
 | 
			
		|||
npm uninstall -s --save nocodb &>/dev/null
 | 
			
		||||
npm install -s --save nocodb &>/dev/null
 | 
			
		||||
systemctl restart nocodb.service
 | 
			
		||||
msg_ok "Updated ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit;
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/openmediavault.list ]]; then msg_error "No ${
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/openhab.list ]]; then msg_error "No ${APP} In
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit;
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,8 +67,7 @@ if [ "$UPD" == "1" ]; then
 | 
			
		|||
  msg_info "Updating ${APP} LXC"
 | 
			
		||||
  apt-get update &>/dev/null
 | 
			
		||||
  apt-get -y upgrade &>/dev/null
 | 
			
		||||
  msg_ok "Updated ${APP} LXC"
 | 
			
		||||
  msg_ok "Update os system Successfull"
 | 
			
		||||
  msg_ok "Updated Successfully"
 | 
			
		||||
 | 
			
		||||
  msg_info "Updating All Containers\n"
 | 
			
		||||
  CONTAINER_LIST="${1:-$(podman ps -q)}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/containers/registries.conf ]]; then msg_error "No ${APP} Install
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then msg_error "No ${APP} Insta
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -f /etc/systemd/system/prometheus.service ]]; then msg_error "No ${APP}
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,7 +57,7 @@ if [[ ! -d /etc/pacman.d ]]; then msg_error "No ${APP} Installation Found!"; exi
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
dnf -y update
 | 
			
		||||
dnf -y upgrade
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/systemd/system/scrypted.service ]]; then msg_error "No ${APP} In
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,8 +57,7 @@ if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then msg_error "No ${APP}
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,7 +66,7 @@ wget -q https://download.technitium.com/dns/DnsServerPortable.tar.gz
 | 
			
		|||
tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null
 | 
			
		||||
rm -rf DnsServerPortable.tar.gz
 | 
			
		||||
systemctl restart dns.service
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -76,7 +76,7 @@ msg_info "Starting ${APP}"
 | 
			
		|||
systemctl start trilium.service
 | 
			
		||||
sleep 1
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,7 @@ if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; ex
 | 
			
		|||
msg_info "Updating ${APP}"
 | 
			
		||||
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh 
 | 
			
		||||
bash unifi-update.sh
 | 
			
		||||
msg_ok "Updated ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -74,7 +74,7 @@ msg_ok "Updated ${APP}"
 | 
			
		|||
msg_info "Starting ${APP}"
 | 
			
		||||
sudo systemctl start uptime-kuma &>/dev/null
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,8 +55,7 @@ header_info
 | 
			
		|||
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
pip3 install whoogle-search --upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,7 +79,7 @@ msg_ok "Restored Data"
 | 
			
		|||
msg_info "Starting ${APP}"
 | 
			
		||||
systemctl start wikijs
 | 
			
		||||
msg_ok "Started ${APP}"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,8 +61,7 @@ if [ "$UPD" == "1" ]; then
 | 
			
		|||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get -y upgrade &>/dev/null
 | 
			
		||||
msg_ok "Updated ${APP} LXC"
 | 
			
		||||
msg_ok "Update Successfull"
 | 
			
		||||
msg_ok "Updated Successfully"
 | 
			
		||||
exit
 | 
			
		||||
fi
 | 
			
		||||
if [ "$UPD" == "2" ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue