Allow repo-add to work with symlinks (fixes FS #7054)
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
8bbb5dd078
commit
96f35d219c
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ db_write_entry()
|
||||||
IFS=$OLDIFS
|
IFS=$OLDIFS
|
||||||
|
|
||||||
# get compressed size of package
|
# get compressed size of package
|
||||||
csize="$(du -b $pkgfile | cut -f1)"
|
csize="$(du -b -L $pkgfile | cut -f1)"
|
||||||
|
|
||||||
cd $gstmpdir
|
cd $gstmpdir
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue