slpkg/configs/slpkg.toml

59 lines
2.4 KiB
TOML
Raw Normal View History

2023-02-28 12:49:21 +01:00
[CONFIGS]
# OS architecture by default.
2023-02-28 12:44:53 +01:00
OS_ARCH = "x86_64"
2023-03-05 20:45:24 +01:00
# Where the packages download.
# This path working only with the command download.
2023-03-01 21:27:29 +01:00
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
2023-03-06 22:30:09 +01:00
# File suffix for list packages.
2023-03-17 11:18:00 +01:00
# Change here if you are going to use '.sqf' files.
2023-03-06 22:30:09 +01:00
FILE_LIST_SUFFIX = ".pkgs"
2023-03-21 15:37:56 +01:00
# Configs for displaying colorful menu. Default is true. [true/false]
2023-03-03 22:33:57 +01:00
COLORS = true
2023-03-05 20:45:24 +01: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 15:37:56 +01:00
# Default is true. [true/false]
2023-03-03 22:33:57 +01:00
DIALOG = true
# If silent mode is true, it does not print the commands as they are executed.
2023-03-21 15:37:56 +01:00
# Default is true. [true/false]
2023-03-03 22:33:57 +01: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 11:18:00 +01:00
# Set false to all the questions. If set false, option --yes will not work.
2023-03-06 22:30:09 +01:00
# Default is true. [true/false].
ASK_QUESTION = true
2023-03-21 15:37:56 +01:00
# Download sources in parallel. Default is false. [true/false]
2023-03-13 15:54:42 +01:00
PARALLEL_DOWNLOADS = false
2023-03-26 08:10:43 +02:00
# Pass your file pattern here, if you want to work only with 'sbo' packages
# add '*_SBo' pattern. Default is the '*'.
2023-03-25 12:02:05 +01:00
FILE_PATTERN = "*"
2023-03-15 16:03:26 +01: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"
2023-02-27 10:32:52 +01:00
# Slackware command for install packages, instead, you can use 'installpkg'.
2023-02-28 12:44:53 +01:00
INSTALLPKG = "upgradepkg --install-new"
2023-02-27 10:06:44 +01:00
# Slackware command to reinstall packages.
2023-02-28 12:44:53 +01:00
REINSTALL = "upgradepkg --reinstall"
# Slackware command to remove packages.
2023-02-28 12:44:53 +01:00
REMOVEPKG = "removepkg"
2023-03-20 18:54:34 +01:00
# You can choose a downloader among wget, curl and lftp.
2023-03-21 15:37:56 +01:00
# Default is wget. [wget/curl/lftp]
2023-02-28 12:44:53 +01:00
DOWNLOADER = "wget"
2022-12-26 11:47:33 +01:00
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.
2023-01-14 21:34:14 +01:00
# -q, Turn off Wget's output.
# --show-progress, Force wget to display the progress bar in any verbosity.
2023-03-15 10:19:12 +01:00
WGET_OPTIONS = "-c -q --progress=bar:force:noscroll --show-progress"
2023-01-25 21:23:31 +01:00
# Curl downloader options.
2023-02-28 12:44:53 +01:00
CURL_OPTIONS = ""
2023-03-10 17:34:13 +01:00
# Lftp donwloader options.
LFTP_GET_OPTIONS = "-c get -e"
2023-03-17 11:18:00 +01:00
# Lftp mirror options are used to synchronize with the repositories.
2023-03-04 17:44:17 +01:00
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"