Various pre release fixes

This commit is contained in:
Silvan Calarco 2022-10-02 18:39:26 +02:00
parent fd99ffbe76
commit c9c45aa9ae
4 changed files with 4 additions and 3 deletions

View File

@ -41,11 +41,13 @@ install-dirs:
@$(INSTALL_DIR) $(DESTDIR)$(pck_confdir) @$(INSTALL_DIR) $(DESTDIR)$(pck_confdir)
@$(INSTALL_DIR) $(DESTDIR)$(pck_datadir) @$(INSTALL_DIR) $(DESTDIR)$(pck_datadir)
@$(INSTALL_DIR) $(DESTDIR)$(pck_statedir) @$(INSTALL_DIR) $(DESTDIR)$(pck_statedir)
@$(INSTALL_DIR) $(DESTDIR)$(unitdir)
install-data: install-dirs install-data: install-dirs
cp main.cfg.example $(DESTDIR)$(pck_confdir)/main.cfg cp main.cfg.example $(DESTDIR)$(pck_confdir)/main.cfg
cp -a app $(DESTDIR)$(pck_datadir)/ cp -a app $(DESTDIR)$(pck_datadir)/
$(INSTALL_DATA) requirements.txt $(DESTDIR)$(pck_datadir)/requirements.txt $(INSTALL_DATA) requirements.txt $(DESTDIR)$(pck_datadir)/requirements.txt
$(INSTALL_DATA) webdist.service $(DESTDIR)$(unitdir)/webdist.service
install: \ install: \
install-dirs \ install-dirs \

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
/var/webdist/env/bin/flask --app /usr/share/webdist/app/webdist.py run --host=0.0.0.0 /var/lib/webdist/env/bin/flask --app /usr/share/webdist/app/webdist.py run --host=0.0.0.0

View File

@ -15,7 +15,7 @@
<body> <body>
<div class="container-fluid"> <div class="container-fluid">
<h2>Welcome To WebDist</h2> <h2>Welcome To WebDist</h2>
<a href="/">Home</a> | <a href="/latest">Latest packages</a> | <a href="/query">Query packages</a> <a href="/">Home</a> | <a href="/latest">Latest packages</a>
{% block body %} {% block body %}

View File

@ -2,5 +2,4 @@
# WebDist main configuration file # WebDist main configuration file
# #
REPO_BASEDIR = "/var/webbuild/db/" REPO_BASEDIR = "/var/webbuild/db/"
#SEARCH_REPOS = [ 'devel', 'devel-makedist', 'devel-autodist', 'devel-kernel', 'devel-misc', 'devel-future' ]
SEARCH_REPOS = [ 'devel', 'devel-makedist', 'devel-autodist' ] SEARCH_REPOS = [ 'devel', 'devel-makedist', 'devel-autodist' ]