mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-05 19:08:04 -05:00
changed license package field to a list
This commit is contained in:
parent
dacf0eccac
commit
65bfbb0bf3
@ -631,7 +631,9 @@ echo "pkgname = $pkgname" >>.PKGINFO
|
|||||||
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO
|
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO
|
||||||
echo "pkgdesc = $pkgdesc" >>.PKGINFO
|
echo "pkgdesc = $pkgdesc" >>.PKGINFO
|
||||||
echo "url = $url" >>.PKGINFO
|
echo "url = $url" >>.PKGINFO
|
||||||
echo "license = $license" >>.PKGINFO
|
for it in "${license[@]}"; do
|
||||||
|
echo "license = $it" >>.PKGINFO
|
||||||
|
done
|
||||||
echo "builddate = $builddate" >>.PKGINFO
|
echo "builddate = $builddate" >>.PKGINFO
|
||||||
echo "packager = $packager" >>.PKGINFO
|
echo "packager = $packager" >>.PKGINFO
|
||||||
echo "size = $size" >>.PKGINFO
|
echo "size = $size" >>.PKGINFO
|
||||||
|
@ -49,7 +49,7 @@ void dump_pkg_full(PM_PKG *pkg, int level)
|
|||||||
|
|
||||||
printf("Packager : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_PACKAGER));
|
printf("Packager : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_PACKAGER));
|
||||||
printf("URL : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_URL));
|
printf("URL : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_URL));
|
||||||
printf("License : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_LICENSE));
|
PM_LIST_display("License :", alpm_pkg_getinfo(pkg, PM_PKG_LICENSE));
|
||||||
printf("Architecture : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_ARCH));
|
printf("Architecture : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_ARCH));
|
||||||
printf("Size : %ld\n", (long int)alpm_pkg_getinfo(pkg, PM_PKG_SIZE));
|
printf("Size : %ld\n", (long int)alpm_pkg_getinfo(pkg, PM_PKG_SIZE));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user