jdel / sspks

A very simple Synology Package Server, reverse engineered from the official Synology package repository and SynoCommunity.
GNU General Public License v3.0
254 stars 64 forks source link

Question - auto install dependencies #42

Closed jenskastensson closed 7 years ago

jenskastensson commented 7 years ago

Hello, first of all, thanks for sharing your work, it works great! Do you know if it is possible to automatically install depending packages (silently) ? Some of the official Synology packages like phpMyAdmin-4.6.5-0170.spk does that - when it is launched from Package Center, But if the spk is downloaded and installed manually, it just shows the message regarding dependencies. So it seem to be a feature of the spk server. Jens

benrubson commented 7 years ago

Hello, You should try the install_dep_services OPTION field : https://developer.synology.com/developer-guide/synology_package/INFO_optional_fields.html By default the installation is quickly made (no wizard), so dependencies should be installed silently too.

jdel commented 7 years ago

Thanks for reporting this @jenskastensson, I will have a look.

jenskastensson commented 7 years ago

@benrubson Thx, the install_dep_services indeed does the job, I was using install_dep_packages, but it does not cause deps to be installed. I'm not sure I understand what the difference is, but Iäll play around. Thx again, you can close this

jdel commented 7 years ago

Thanks Ben 🥇 😆