Skip to content

Installtypes: script

PentagonLP edited this page May 20, 2025 · 1 revision

This page explains the installtype "script".

What is it for?

"script" is made to run a prevoisly downloaded script to install, update and remove the package.
The script will be downloaded as "/.ccpt/tempinstaller".
Which action to take, is described by the first (and only) parameter of the script:

  • To install the package:
/.ccpt/tempinstaller install
  • To update the package:
/.ccpt/tempinstaller update
  • To remove the package:
/.ccpt/tempinstaller remove

The script will be executed with this parameter and deleted afterwords.

What values does it take?

...
install = {
        type = "script",
        scripturl = "<URL to download the script from>"
    }
...

URL to download the script from: URL that ccpt uses to download the install script from, will be downloaded to "/.ccpt/tempinstaller"

Example(s)

Clone this wiki locally