mirror of
https://github.com/9001/copyparty.git
synced 2026-10-06 07:34:37 +01:00
packaging: *.gif + pre-gzip js/css;
* web/*.gif was ignored by pyproject.toml * pre-gzip js/css in dist source tarball * systemd/archlinux: safer default-config * readme: "config file example" labeling
This commit is contained in:
@@ -68,7 +68,7 @@ scripts/genlic.py "$rls_dir/copyparty/res/COPYING.txt"
|
||||
|
||||
cd "$rls_dir"
|
||||
find -type d -exec chmod 755 '{}' \+
|
||||
find -type f -exec chmod 644 '{}' \+
|
||||
find -type f -exec chmod u+rw,go+r '{}' \+
|
||||
|
||||
commaver="$(
|
||||
printf '%s\n' "$ver" |
|
||||
@@ -99,6 +99,12 @@ rm -f \
|
||||
cp -pv LICENSE LICENSE.txt
|
||||
mv setup.py{,.disabled}
|
||||
|
||||
( cd copyparty/web
|
||||
make -j$(nproc)
|
||||
rm Makefile*
|
||||
printf 'all:\n\t@echo "NOTE: no longer necessary to run copyparty/web/Makefile when building from source tarball"\n' >Makefile
|
||||
)
|
||||
|
||||
# the regular cleanup memes
|
||||
find -name '*.pyc' -delete
|
||||
find -name __pycache__ -delete
|
||||
|
||||
Reference in New Issue
Block a user