mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
a better way to avoid the double commas
This commit is contained in:
parent
d881d1a505
commit
6d21e9fced
1 changed files with 1 additions and 4 deletions
|
@ -196,9 +196,6 @@ ynh_package_install_from_equivs() {
|
||||||
# Install missing dependencies with ynh_package_install
|
# Install missing dependencies with ynh_package_install
|
||||||
ynh_wait_dpkg_free
|
ynh_wait_dpkg_free
|
||||||
|
|
||||||
# Remove the double commas because dpkg-deb doesn't like them
|
|
||||||
sed --in-place 's@,,@,@g' "$controlfile"
|
|
||||||
|
|
||||||
cp "$controlfile" "${TMPDIR}/${pkgname}/DEBIAN/control"
|
cp "$controlfile" "${TMPDIR}/${pkgname}/DEBIAN/control"
|
||||||
|
|
||||||
# Install the fake package without its dependencies with dpkg --force-depends
|
# Install the fake package without its dependencies with dpkg --force-depends
|
||||||
|
@ -327,7 +324,7 @@ Section: misc
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Package: ${dep_app}-ynh-deps
|
Package: ${dep_app}-ynh-deps
|
||||||
Version: ${version}
|
Version: ${version}
|
||||||
Depends: ${dependencies}
|
Depends: ${dependencies//,,/,}
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: root@localhost
|
Maintainer: root@localhost
|
||||||
Description: Fake package for ${app} (YunoHost app) dependencies
|
Description: Fake package for ${app} (YunoHost app) dependencies
|
||||||
|
|
Loading…
Add table
Reference in a new issue