1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Invalid escape sequence yada yada

This commit is contained in:
Alexandre Aubin 2024-06-20 23:57:13 +02:00
parent 799490c237
commit 347ed93a1b

View file

@ -302,9 +302,9 @@ def cleanup():
"test -e config_panel.json && git rm --quiet config_panel.json",
"test -e config_panel.toml.example && git rm --quiet config_panel.toml.example",
"git rm $(find ./ -name .DS_Store) 2>/dev/null",
"grep -q '\*\~' .gitignore 2>/dev/null || echo '*~' >> .gitignore",
"grep -q '\~.sw\[op\]' .gitignore || echo '~.sw[op]' >> .gitignore",
"grep -q '\.DS_Store' .gitignore || echo '.DS_Store' >> .gitignore",
r"grep -q '\*\~' .gitignore 2>/dev/null || echo '*~' >> .gitignore",
r"grep -q '\~.sw\[op\]' .gitignore || echo '~.sw[op]' >> .gitignore",
r"grep -q '\.DS_Store' .gitignore || echo '.DS_Store' >> .gitignore",
"git add .gitignore",
]