Project

General

Profile

Bug #661

[dbscripts] abslibre unnecessarily copies a git repo and fails

mtjm - about 9 years ago - . Updated almost 9 years ago.

Status:
fixed
Priority:
bug
Category:
-
Assignee:
% Done:

0%


Description

Log at https://lists.parabola.nu/pipermail/maintenance/2015-January/007601.html, interesting part:

+ sync_abs_libre
+ '[' -d /var/tmp/abslibre/.git ']'
+ pushd /var/tmp/abslibre
+ git pull
fatal: Not a git repository (or any of the parent directories): .git
run-parts: /etc/cron.daily/abslibre exited with return code 128

Why the script doesn't rsync the data from the original repo instead of cloning it (or updating, with incorrect detection of the repo being ok)?

Remember that #635 means the server having an unversioned fork of that script.

History

#1

Updated by fauno almost 9 years ago

  • Assignee set to fauno
  • Status changed from open to fixed

change it to /tmp instead, it should work as expected now

Also available in: Atom PDF