mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01: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:
parent
4cddfa3b12
commit
1fdac65f7d
170 changed files with 864 additions and 652 deletions
|
@ -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
|
||||
|
@ -8,16 +9,16 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build
|
|||
function header_info {
|
||||
clear
|
||||
cat <<"EOF"
|
||||
____ __
|
||||
/ __ \____ ____/ /___ ___ ____ _____
|
||||
/ /_/ / __ \/ __ / __ __ \/ __ / __ \
|
||||
/ ____/ /_/ / /_/ / / / / / / /_/ / / / /
|
||||
__ __ /_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/__ __
|
||||
____ __
|
||||
/ __ \____ ____/ /___ ___ ____ _____
|
||||
/ /_/ / __ \/ __ / __ __ \/ __ / __ \
|
||||
/ ____/ /_/ / /_/ / / / / / / /_/ / / / /
|
||||
__ __ /_/ \____/\__,_/_/ /_/ /_/\__,_/_/ /_/__ __
|
||||
/ / / /___ ____ ___ ___ / | __________(_)____/ /_____ _____ / /_
|
||||
/ /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/
|
||||
/ __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_
|
||||
/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/
|
||||
|
||||
/ __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_
|
||||
/_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/
|
||||
|
||||
EOF
|
||||
}
|
||||
header_info
|
||||
|
@ -97,7 +98,7 @@ if [ "$UPD" == "2" ]; then
|
|||
exit
|
||||
fi
|
||||
if [ "$UPD" == "3" ]; then
|
||||
IP=$(hostname -I | awk '{print $1}')
|
||||
IP=$(hostname -I | awk '{print $1}')
|
||||
msg_info "Installing FileBrowser"
|
||||
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash &>/dev/null
|
||||
filebrowser config init -a '0.0.0.0' &>/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue