aboutsummaryrefslogtreecommitdiff
path: root/apks/alps/fix-statics-dir.patch
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-01-24 22:08:57 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-01-24 22:08:57 +0100
commite481d980ad7c9f9e6985e9178ea709dbeab8a805 (patch)
tree1e97ec9298c864ae9c5989bf0efffd5af8048fd9 /apks/alps/fix-statics-dir.patch
parent1b1036f1353d2625bdebe1aacc327210dea401a4 (diff)
downloadapkbuilds-e481d980ad7c9f9e6985e9178ea709dbeab8a805.tar.gz
apkbuilds-e481d980ad7c9f9e6985e9178ea709dbeab8a805.tar.bz2
apkbuilds-e481d980ad7c9f9e6985e9178ea709dbeab8a805.zip
chore: Remove jellyfin and add alps
Diffstat (limited to 'apks/alps/fix-statics-dir.patch')
-rw-r--r--apks/alps/fix-statics-dir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/apks/alps/fix-statics-dir.patch b/apks/alps/fix-statics-dir.patch
new file mode 100644
index 0000000..72eaffa
--- /dev/null
+++ b/apks/alps/fix-statics-dir.patch
@@ -0,0 +1,26 @@
+diff --git a/cmd/alps/main.go b/cmd/alps/main.go
+index 5a00957..f537177 100644
+--- a/cmd/alps/main.go
++++ b/cmd/alps/main.go
+@@ -23,7 +23,7 @@ import (
+ _ "git.sr.ht/~migadu/alps/plugins/viewtext"
+ )
+
+-var themesPath = "./themes"
++var themesPath = "/var/lib/alps/themes"
+
+ func main() {
+ var (
+diff --git a/plugin.go b/plugin.go
+index e634f02..43b8164 100644
+--- a/plugin.go
++++ b/plugin.go
+@@ -7,7 +7,7 @@ import (
+ )
+
+ // PluginDir is the path to the plugins directory.
+-const PluginDir = "plugins"
++const PluginDir = "/var/lib/alps/plugins"
+
+ // Plugin extends alps with additional functionality.
+ type Plugin interface {