mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for format
This commit is contained in:
parent
333797bd97
commit
1490d2c0b9
1 changed files with 17 additions and 0 deletions
|
@ -2,37 +2,48 @@
|
|||
|
||||
# OS architecture by default.
|
||||
OS_ARCH = "x86_64"
|
||||
|
||||
# Where the packages download.
|
||||
# This path working only with the command download.
|
||||
DOWNLOAD_ONLY_PATH = "/tmp/slpkg/"
|
||||
|
||||
# File suffix for list packages.
|
||||
# Change here if you are going to use '.sqf' files.
|
||||
FILE_LIST_SUFFIX = ".pkgs"
|
||||
|
||||
# Configs for displaying colorful menu. Default is true. [true/false]
|
||||
COLORS = true
|
||||
|
||||
# Dialog is a program that will let you present a variety of questions or
|
||||
# display messages using dialog boxes from a shell script.
|
||||
# Default is true. [true/false]
|
||||
DIALOG = true
|
||||
|
||||
# If silent mode is true, it does not print the commands as they are executed.
|
||||
# Default is true. [true/false]
|
||||
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
|
||||
|
||||
# Set false to all the questions. If set false, option --yes will not work.
|
||||
# Default is true. [true/false].
|
||||
ASK_QUESTION = true
|
||||
|
||||
# Download sources in parallel. Default is false. [true/false]
|
||||
# Alternatively, you can use the option '--parallel'.
|
||||
PARALLEL_DOWNLOADS = false
|
||||
|
||||
# Pass your file pattern here, if you want to work only with 'sbo' packages
|
||||
# add '*_SBo' pattern. Default is the '*'.
|
||||
FILE_PATTERN = "*"
|
||||
|
||||
# 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"
|
||||
|
@ -44,12 +55,14 @@ SPINNER_COLOR = "green"
|
|||
# modified to install new packages in addition to upgrading existing ones.
|
||||
# See: $ man upgradepkg.
|
||||
INSTALLPKG = "upgradepkg --install-new"
|
||||
|
||||
# Slackware command to reinstall packages.
|
||||
# Upgradepkg usually skips packages if the exact same package (matching name,
|
||||
# version, arch, and build number) is already installed on the system. Use
|
||||
# the --reinstall option if you want to upgrade all packages even if the same
|
||||
# version is already installed. See: $ man upgradepkg.
|
||||
REINSTALL = "upgradepkg --install-new --reinstall"
|
||||
|
||||
# Slackware command to remove packages.
|
||||
#removepkg removes a previously installed Slackware package, while writing
|
||||
# a progress report to the standard output. A package may be specified either
|
||||
|
@ -60,15 +73,19 @@ REMOVEPKG = "removepkg"
|
|||
# You can choose a downloader among wget, curl and lftp.
|
||||
# Default is wget. [wget/wget2/curl/lftp]
|
||||
DOWNLOADER = "wget"
|
||||
|
||||
# Wget downloader options.
|
||||
# -c, --continue: resume getting a partially-downloaded file.
|
||||
# -q, Turn off Wget's output.
|
||||
# --show-progress, Force wget to display the progress bar in any verbosity.
|
||||
WGET_OPTIONS = "-c -q --progress=bar:force:noscroll --show-progress"
|
||||
|
||||
# Curl downloader options.
|
||||
CURL_OPTIONS = ""
|
||||
|
||||
# Lftp donwloader options.
|
||||
LFTP_GET_OPTIONS = "-c get -e"
|
||||
|
||||
# Lftp mirror options are used to synchronize with the repositories.
|
||||
LFTP_MIRROR_OPTIONS = "-c mirror --parallel=100 --only-newer"
|
||||
|
||||
|
|
Loading…
Reference in a new issue