Coder Social home page Coder Social logo

Script file about silica HOT 4 OPEN

shugabuga avatar shugabuga commented on May 21, 2024
Script file

from silica.

Comments (4)

Shugabuga avatar Shugabuga commented on May 21, 2024

What script file are you referring to, pre/postint files that?

Silica formats files a bit differently internally. We use a scripts folder inside of a silica_data to store pre/postint files. The contents of silica_data/scripts/ are put into the DEB properly when exported and silica_data's contents are never put inside the DEB.

from silica.

Randomblock1 avatar Randomblock1 commented on May 21, 2024

I think I know what they mean, I ran into it too.
I have a premade DEB that contains scripts in the DEBIAN folder, and really I just want to use Silica 'cause it looks nice, although the packaging feature is neat. However, instead of taking the scripts from DEBIAN and keeping them there, they get moved to the root directory of the DEB.

Basically what should happen is it shouldn't move any files and keep them in DEBIAN, but Silica as it is doesn't do this.

from silica.

Shugabuga avatar Shugabuga commented on May 21, 2024

If you can send me the DEB to silicahelp [at] shuga [dot] co, I'll take a closer look and look to fix this.

from silica.

sgtaziz avatar sgtaziz commented on May 21, 2024

I'm actually running into the same issue. The scripts generated are stored inside data. So, when installing a DEB file generated by Silica, on my device postinst/preinst will exist in the root (/) directory of the device.

Replicating it is simple. If you have a .deb file with scripts in the DEBIAN directory, this will happen when it is re-packaged by Silica.

from silica.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.