mirror of
https://github.com/linuxserver/docker-opera.git
synced 2026-01-09 07:30:50 +08:00
remove singletons on launch if not running
This commit is contained in:
parent
e4e6203c4d
commit
d83d3528d4
@ -416,6 +416,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **12.03.25:** - Clear singletons one launch to properly support persistance.
|
||||
* **13.02.24:** - Remove manual codecs ingestion.
|
||||
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
|
||||
* **06.01.24:** - Rebase to Debian Bookworm.
|
||||
|
||||
@ -108,6 +108,7 @@ init_diagram: |
|
||||
"opera:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "12.03.25:", desc: "Clear singletons one launch to properly support persistance."}
|
||||
- {date: "13.02.24:", desc: "Remove manual codecs ingestion."}
|
||||
- {date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon."}
|
||||
- {date: "06.01.24:", desc: "Rebase to Debian Bookworm."}
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Cleanup
|
||||
if ! pgrep opera > /dev/null;then
|
||||
rm -f $HOME/.config/opera/Singleton*
|
||||
fi
|
||||
|
||||
BIN=/usr/bin/opera-real
|
||||
LANG=$(echo $LC_ALL| sed 's/\.UTF-8//g'| sed 's/_/-/g')
|
||||
LANG_SHORT=$(echo $LANG | awk -F'-' '{print $1}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user