summaryrefslogtreecommitdiff
path: root/scripts/repo-add
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-05-06 18:50:41 -0400
committerDan McGee <dan@archlinux.org>2007-05-06 18:50:41 -0400
commit96f35d219cfd330f0c57e39619c85ef2e880eb16 (patch)
tree471b6328ce5dc2fa3462ca046496ad8bc4e3be50 /scripts/repo-add
parent8bbb5dd0789db6d57f1fc365296ef0f6a35e8a1f (diff)
downloadpacman-96f35d219cfd330f0c57e39619c85ef2e880eb16.tar.xz
Allow repo-add to work with symlinks (fixes FS #7054)
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-add')
-rwxr-xr-xscripts/repo-add2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add b/scripts/repo-add
index 0d6f344a..64962143 100755
--- a/scripts/repo-add
+++ b/scripts/repo-add
@@ -121,7 +121,7 @@ db_write_entry()
IFS=$OLDIFS
# get compressed size of package
- csize="$(du -b $pkgfile | cut -f1)"
+ csize="$(du -b -L $pkgfile | cut -f1)"
cd $gstmpdir