Browse Source

fixed patch script again

master
mastodon 1 week ago
parent
commit
2b4fbcbc91
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      generate-patch.sh

+ 4
- 2
generate-patch.sh View File

@@ -11,8 +11,10 @@ git clone https://github.com/meemudotorg/theemu modifications/theemu
11 11
 rsync -av --files-from modifications/theemu/meemu-theme.txt modifications/theemu tainted
12 12
 cp -pr untainted/app/javascript/mastodon/locales/en.json tainted/app/javascript/mastodon/locales/en.json
13 13
 cp -pr untainted/config/locales/en.yml tainted/config/locales/en.yml
14
-mv assets/themes.yml tainted/config/themes.yml
14
+cp -pr assets/themes.yml tainted/config/themes.yml
15
+cp -pr assets/source.rb tainted/config/initializers/source.rb
15 16
 mv tainted/app/javascript/fonts/pressstart2p deploy/
16 17
 diff -ruN untainted tainted > deploy/queer.party.patch
18
+rm -rf untainted tainted modifications
17 19
 docker build --build-arg MASTODON_VERSION=$MASTODON_VERSION -t queerparty/mastodon:v$MASTODON_VERSION deploy/
18
-rm -rf untainted tainted modifications deploy/queer.party.patch deploy/pressstart2p
20
+rm -rf deploy/queer.party.patch deploy/pressstart2p

Loading…
Cancel
Save