summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-26 19:05:45 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-26 19:05:45 -0500
commit1896e9b9e11cdb70094d79ba369ca3f3b3d0d969 (patch)
tree8cbf3ae552c660372299356e0546262da1fe0be5
parent59d8594bfd89cdf37a4cae7fa893da4a6bc980e4 (diff)
Minor fix to db-sync-arm
-rwxr-xr-xdb-sync-arm10
1 files changed, 2 insertions, 8 deletions
diff --git a/db-sync-arm b/db-sync-arm
index 3b1e3df..0c28a37 100755
--- a/db-sync-arm
+++ b/db-sync-arm
@@ -175,16 +175,10 @@ init() {
> "/tmp/${_repo}-any.pkgwhitelist"
while read _pkgfile; do
- # Symlink to package
+ # Symlink to package and signature
if [ -f "${FTP_BASE}/${pkgpool}/${_pkgfile}" ]; then
ln -sf "../../../${pkgpool}/${_pkgfile}" \
- "${FTP_BASE}/${_repo}/os/${_arch}"
- fi
-
- # Symlink to signature
- if [ -f "${FTP_BASE}/${pkgpool}/${_pkgfile}.sig" ]; then
- ln -sf "../../../${pkgpool}/${_pkgfile}.sig" \
- "${FTP_BASE}/${_repo}/os/${_arch}/${_pkgfile}.sig"
+ "${FTP_BASE}/${_repo}/os/${_arch}/${_pkgfile}"
fi
done < "/tmp/${_repo}-any.pkgwhitelist"
done