mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Untracked files in venv /usr/local/calibre-web-py3 should NOT block upgrade
This commit is contained in:
parent
e3d9a9a36e
commit
4f98de9331
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@
|
|||
src: /usr/bin/iiab-update
|
||||
path: /usr/bin/iiab-upgrade
|
||||
state: link
|
||||
force: yes
|
||||
#force: yes
|
||||
|
||||
- name: Create globally-writable directory /etc/iiab/diag (0777) so non-root users can run 'iiab-diagnostics'
|
||||
file:
|
||||
|
|
|
@ -56,7 +56,7 @@ if grep -q 'calibreweb_installed: True' /etc/iiab/iiab_state.yml; then
|
|||
yt-dlp --version
|
||||
echo
|
||||
cd /usr/local/calibre-web-py3
|
||||
if [[ $(git branch --show-current) != "master" || $(git status --porcelain) != "" ]]; then
|
||||
if [[ $(git branch --show-current) != "master" || $(git status --porcelain --untracked-files=no) != "" ]]; then # Permit venv detritus, e.g. untracked files like these 5: bin/ include/ lib/ lib64 pyvenv.cfg
|
||||
echo -e "\n\n\e[41;1mIn /usr/local/calibre-web-py3, (1) 'git branch' MUST show current branch 'master' and (2) 'git status' must show NO MODIFIED FILES.\e[0m\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue