Skip to content

dpfrey/secretsauce-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Agreement in .deb Package Demo

The secretsauce application is just a simple shell script that prints out one line of output. The real purpose of this demo is to show how to present the user with a license and require that they accept the license in order to proceed with package installation.

Build the .deb

  1. Run create_archive.sh from the current directory to create the required secretsauce_1.0.orig.tar.gz in the parent directory.
  2. Run debuild -us -uc

Test the .deb

  1. Run sudo dpkg -i secretsauce_1.0.deb
  2. Type "n" (or anything other than "Y" or "y") to observe that package installation is aborted.
  3. Run secretsauce and observe that the package was not installed.
  4. Run sudo dpkg -i secretsauce_1.0.deb
  5. Type "Y" or "y" to agree to the license and observe that the package installs correctly.
  6. Run secretsauce and observe that the package was installed successfully.
  7. Run sudo apt-get purge secretsauce to remove the installed package.

About

License agreement in .deb package example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published