Closed Yisus7u7 closed 3 years ago
Necessary dependencies will install when you install package , you just need to define depends key and value .
{
"depends": ["bash"],
}
Can you give me an example?
depnds
key of value array ["bash","php"]
automatically install necessary dependencies during installation via apt (or) dpkg
if they are not installed.
{
"name": "lamp",
"version": "1.1.0",
"homepage": "http://github.com/amm834/meow",
"maintainer": "@amm834",
"description": " 🐘👀 - lamp is a web servers manager ✨",
"arch":"i686",
"depends": ["bash","php"], // see this line
"files" : {
"lamp":"bin/lamp"
}
}
Ahh, I know that, but what I mean is that I run a script with commands during installation
They will install when you install package.
Hmm ok
Hello, I use termux-create-package and termux-apt-repo on my cell phone, everything is excellent, very versatile and easy to use, but I would like you to add the function of running a script during installation, to install things like example, python dependencies, or ask the user for a configuration, if you add it I would thank you very much, thank you for your time