mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 10:19:36 +02:00
Compare commits
3 Commits
CrazyWolf1
...
fix/add-ip
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b93360cb0 | ||
|
|
62a6122fa6 | ||
|
|
45953e857a |
@@ -469,6 +469,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2026-05-25
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- karakeep: fix: pip config [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14703](https://github.com/community-scripts/ProxmoxVE/pull/14703))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
@@ -46,6 +46,14 @@ function update_script() {
|
||||
fi
|
||||
msg_ok "Update prepared"
|
||||
|
||||
if [ ! -f ~/.config/pip/pip.conf ]; then
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
fi
|
||||
|
||||
if grep -q "start:prod" /etc/systemd/system/karakeep-workers.service; then
|
||||
sed -i 's|^ExecStart=.*$|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/karakeep-workers.service
|
||||
systemctl daemon-reload
|
||||
|
||||
@@ -36,6 +36,11 @@ NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
|
||||
|
||||
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||
$STD pip install -U yt-dlp-ejs
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||
|
||||
msg_info "Installing karakeep"
|
||||
|
||||
@@ -811,13 +811,7 @@ update_tags() {
|
||||
if [[ "$type" == "lxc" ]]; then
|
||||
pct set "${vmid}" -tags "$(IFS=';'; echo "${next_tags[*]}")" &>/dev/null
|
||||
else
|
||||
local vm_config="/etc/pve/qemu-server/${vmid}.conf"
|
||||
if [[ -f "$vm_config" ]]; then
|
||||
sed -i '/^tags:/d' "$vm_config"
|
||||
if [[ ${#next_tags[@]} -gt 0 ]]; then
|
||||
echo "tags: $(IFS=';'; echo "${next_tags[*]}")" >> "$vm_config"
|
||||
fi
|
||||
fi
|
||||
qm set "${vmid}" --tags "$(IFS=';'; echo "${next_tags[*]}")" &>/dev/null
|
||||
fi
|
||||
else
|
||||
# Tags unchanged
|
||||
|
||||
Reference in New Issue
Block a user