1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Fix install

Hello, the folder within the zip does not match the pattern anymore. As a result, the app won't install anymore...
Here is the fix.

Hello,
I have a strange error:

```
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
rsync: change_dir "/tmp/tmp.n4cxYSWbPh/tt-rss.git" failed: No such file or directory (2)
+ sudo rsync -a '/tmp/tmp.n4cxYSWbPh/tt-rss.git/*' /var/www/ttrss
+ unzip -q /tmp/ttrss.zip -d /tmp/tmp.n4cxYSWbPh
+ wget -q -O /tmp/ttrss.zip 'https://tt-rss.org/gitlab/fox/tt-rss/repository/archive.zip?ref=17.1'
```
This commit is contained in:
Jeff 2017-04-19 17:51:56 +02:00 committed by GitHub
parent 6a8fb9f277
commit b1334ea409

View file

@ -27,6 +27,6 @@ extract_ttrss() {
|| ynh_die "Unable to download ttrss tarball"
unzip -q "$ttrss_tarball" -d "$TMPDIR" \
|| ynh_die "Unable to extract ttrss tarball"
sudo rsync -a "$TMPDIR"/tt-rss.git/* "$DESTDIR"
sudo rsync -a "$TMPDIR"/tt-rss*/* "$DESTDIR"
rm -rf "$ttrss_tarball" "$TMPDIR"
}