Skip to content

Commit 4462249

Browse files
MickLeskLearath
authored andcommitted
Flatnotes: fix empty package name in pyproject.toml (community-scripts#14814)
* Flatnotes: fix empty package name in pyproject.toml * Flatnotes: fix empty package name in update script too
1 parent 9fd4a03 commit 4462249

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

ct/flatnotes.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function update_script() {
4747
$STD npm run build
4848
cd /opt/flatnotes
4949
rm -f uv.lock
50+
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
5051
$STD /usr/local/bin/uvx migrate-to-uv
5152
$STD /usr/local/bin/uv sync
5253
msg_ok "Updated Flatnotes"

install/flatnotes-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ NODE_VERSION="22" setup_nodejs
1919

2020
msg_info "Setting up Flatnotes"
2121
cd /opt/flatnotes
22+
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
2223
$STD /usr/local/bin/uvx migrate-to-uv
2324
$STD /usr/local/bin/uv sync
2425
mkdir -p /opt/flatnotes/data

0 commit comments

Comments
 (0)