2023-02-28 13:49:21 +02:00
|
|
|
[CONFIGS]
|
2022-10-19 21:18:25 +03:00
|
|
|
# OS architecture by default.
|
2023-02-28 13:44:53 +02:00
|
|
|
OS_ARCH = "x86_64"
|
2023-03-05 21:45:24 +02:00
|
|
|
# Where the packages download.
|
2022-10-22 19:46:10 +03:00
|
|
|
# This path working only with the command download.
|
2023-03-01 22:27:29 +02:00
|
|
|
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
|
2023-03-06 23:30:09 +02:00
|
|
|
# File suffix for list packages.
|
2023-03-17 12:18:00 +02:00
|
|
|
# Change here if you are going to use '.sqf' files.
|
2023-03-06 23:30:09 +02:00
|
|
|
FILE_LIST_SUFFIX = ".pkgs"
|
2023-03-21 16:37:56 +02:00
|
|
|
# Configs for displaying colorful menu. Default is true. [true/false]
|
2023-03-03 23:33:57 +02:00
|
|
|
COLORS = true
|
2023-03-05 21:45:24 +02:00
|
|
|
# Dialog is a program that will let you present a variety of questions or
|
|
|
|
# display messages using dialog boxes from a shell script.
|
2023-03-21 16:37:56 +02:00
|
|
|
# Default is true. [true/false]
|
2023-03-03 23:33:57 +02:00
|
|
|
DIALOG = true
|
|
|
|
# If silent mode is true, it does not print the commands as they are executed.
|
2023-03-21 16:37:56 +02:00
|
|
|
# Default is true. [true/false]
|
2023-03-03 23:33:57 +02:00
|
|
|
SILENT_MODE = true
|
|
|
|
# Choose ascii printable characters.
|
|
|
|
# If true, it uses the extended characters, otherwise the basic ones.
|
|
|
|
# Default is true. [true/false].
|
|
|
|
ASCII_CHARACTERS = true
|
2023-03-17 12:18:00 +02:00
|
|
|
# Set false to all the questions. If set false, option --yes will not work.
|
2023-03-06 23:30:09 +02:00
|
|
|
# Default is true. [true/false].
|
|
|
|
ASK_QUESTION = true
|
2023-03-21 16:37:56 +02:00
|
|
|
# Download sources in parallel. Default is false. [true/false]
|
2023-03-13 16:54:42 +02:00
|
|
|
PARALLEL_DOWNLOADS = false
|
2023-03-17 12:18:00 +02:00
|
|
|
# Pass your file pattern here, instead, you can use '--file-pattern=' or '-F=' option.
|
2023-03-25 13:02:05 +02:00
|
|
|
FILE_PATTERN = "*"
|
2023-03-15 17:03:26 +02:00
|
|
|
# There are 5 predefined spinners for the progress bar.
|
|
|
|
# Default is pixel. [spinner/pie/moon/line/pixel]
|
|
|
|
PROGRESS_SPINNER = "pixel"
|
|
|
|
# Choose color for the progress bar spinner.
|
|
|
|
# Default is green. [green/violet/yellow/blue/cyan/grey/red]
|
|
|
|
SPINNER_COLOR = "green"
|
2022-10-22 19:46:10 +03:00
|
|
|
|
2023-02-27 11:32:52 +02:00
|
|
|
# Slackware command for install packages, instead, you can use 'installpkg'.
|
2023-02-28 13:44:53 +02:00
|
|
|
INSTALLPKG = "upgradepkg --install-new"
|
2023-02-27 11:06:44 +02:00
|
|
|
# Slackware command to reinstall packages.
|
2023-02-28 13:44:53 +02:00
|
|
|
REINSTALL = "upgradepkg --reinstall"
|
2022-10-30 19:34:32 +02:00
|
|
|
# Slackware command to remove packages.
|
2023-02-28 13:44:53 +02:00
|
|
|
REMOVEPKG = "removepkg"
|
2022-10-19 20:18:13 +03:00
|
|
|
|
2023-03-20 19:54:34 +02:00
|
|
|
# You can choose a downloader among wget, curl and lftp.
|
2023-03-21 16:37:56 +02:00
|
|
|
# Default is wget. [wget/curl/lftp]
|
2023-02-28 13:44:53 +02:00
|
|
|
DOWNLOADER = "wget"
|
2022-12-26 12:47:33 +02:00
|
|
|
# Wget downloader options.
|
|
|
|
# -c, --continue: resume getting a partially-downloaded file.
|
2023-01-14 22:34:14 +02:00
|
|
|
# -q, Turn off Wget's output.
|
|
|
|
# --show-progress, Force wget to display the progress bar in any verbosity.
|
2023-03-15 11:19:12 +02:00
|
|
|
WGET_OPTIONS = "-c -q --progress=bar:force:noscroll --show-progress"
|
2023-01-25 22:23:31 +02:00
|
|
|
# Curl downloader options.
|
2023-02-28 13:44:53 +02:00
|
|
|
CURL_OPTIONS = ""
|
2023-03-10 18:34:13 +02:00
|
|
|
# Lftp donwloader options.
|
|
|
|
LFTP_GET_OPTIONS = "-c get -e"
|
2023-03-17 12:18:00 +02:00
|
|
|
# Lftp mirror options are used to synchronize with the repositories.
|
2023-03-04 18:44:17 +02:00
|
|
|
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"
|