mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-19 12:56:01 +00:00
chore: add fs related helpers that allow to cat files from either a remote repo, including a different branch than main, or from a local folder, so we contributors can change their changes locally
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/fs.func)
|
||||
source <(fs_cat misc/build.func)
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
@@ -10,10 +11,10 @@ clear
|
||||
cat <<"EOF"
|
||||
_ __ __ ____ __
|
||||
/ | / /___ ____/ /__ / __ \___ ____/ /
|
||||
/ |/ / __ \/ __ / _ \ / /_/ / _ \/ __ /
|
||||
/ /| / /_/ / /_/ / __/ / _, _/ __/ /_/ /
|
||||
/_/ |_/\____/\__,_/\___/ /_/ |_|\___/\__,_/
|
||||
|
||||
/ |/ / __ \/ __ / _ \ / /_/ / _ \/ __ /
|
||||
/ /| / /_/ / /_/ / __/ / _, _/ __/ /_/ /
|
||||
/_/ |_/\____/\__,_/\___/ /_/ |_|\___/\__,_/
|
||||
|
||||
EOF
|
||||
}
|
||||
header_info
|
||||
@@ -109,7 +110,7 @@ THEME=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "NODE-RED THEME
|
||||
"zenburn" "" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
header_info
|
||||
msg_info "Installing ${THEME} Theme"
|
||||
msg_info "Installing ${THEME} Theme"
|
||||
cd /root/.node-red
|
||||
sed -i 's|// theme: ".*",|theme: "",|g' /root/.node-red/settings.js
|
||||
npm install @node-red-contrib-themes/theme-collection &>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user