Code refactoring

This commit is contained in:
tteckster
2023-05-15 07:39:30 -04:00
committed by GitHub
parent b09f213c84
commit c12f2773e7
97 changed files with 103 additions and 119 deletions

View File

@@ -19,7 +19,7 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
msg_ok "Installed Dependencies"
if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
if [[ "$CTTYPE" == "0" ]]; then
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install \
va-driver-all \
@@ -43,7 +43,7 @@ $STD dpkg -i emby-server-deb_${LATEST}_amd64.deb
msg_ok "Installed Emby"
motd_ssh
root
customize
msg_info "Cleaning up"
$STD apt-get autoremove