Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SpiceSpy@claudiux] v5.2.6: Fixes the spices-cache-init.sh script #6967

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v5.2.6~20250310
* Fixes the `spices-cache-init.sh` script.

### v5.2.5~20250309
* Fixes a typo error in a script.

Expand Down
2 changes: 1 addition & 1 deletion SpiceSpy@claudiux/files/SpiceSpy@claudiux/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"uuid": "SpiceSpy@claudiux",
"name": "SpiceSpy",
"description": "Notifies you when there's a change to your favorite Spices on the website.",
"version": "5.2.5",
"version": "5.2.6",
"max-instances": 1,
"author": "claudiux"
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/bin/bash
UUID="SpiceSpy@claudiux"
for type in "action" "applet" "desklet" "extension" "theme"; do {
[ -d $HOME/.cache/cinnamon/spices/$type ] || {
mkdir -p $HOME/.cache/cinnamon/spices/$type
[[ -d ${HOME}/.cache/cinnamon/spices/${type} ]] || {
mkdir -p ${HOME}/.cache/cinnamon/spices/${type}
}
[ -f $HOME/.cache/cinnamon/spices/$type/index.json ] || {
echo "{}" > $HOME/.cache/cinnamon/spices/$type/index.json
[[ -f ${HOME}/.cache/cinnamon/spices/${type}/index.json ]] || {
echo "{}" > ${HOME}/.cache/cinnamon/spices/${type}/index.json
}
}; done

$HOME/.local/share/cinnamon/applets/$UUID/scripts/spices-cache-updater.py --update-all
sleep 1

${HOME}/.local/share/cinnamon/applets/${UUID}/scripts/spices-cache-updater.py --update-all

exit 0