You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/dev/pacstall-101/Variables.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ import { Callout } from 'nextra/components'
19
19
|`AARCH`| Current architecture running (alternate) |`$ echo $HOSTTYPE`|`armhf` uses `armv7h`, and `i386` uses `i686`, instead of `HOSTTYPE`|
20
20
|`NCPU`| User overridable core count |`$ nproc` or set by `${PACSTALL_BUILD_CORES}`. | Use this unconditionally in place of `nproc`. |
21
21
|`DISTRO`| Value of the current (parent) distro and codename |`$base:$codename`, such as `ubuntu:jammy` or `debian:bookworm`| Should only be used inside of packaging functions. Use distro enhanced variables instead. If current distro is based on `ubuntu` or `debian`, this will be the version it is based on. |
22
+
|`DNUM`| Version of the current (parent) distro |`$version`, such as `22.04` or `12`| See above. Value is directly associated with `DISTRO`. |
22
23
|`CDISTRO`| Value of the current distro and codename |`$base:$codename`, such as `ubuntu:jammy` or `linuxmint:elsie`| Should only be used inside of packaging functions. Use distro enhanced variables instead, based on `DISTRO`. If current distro is `ubuntu` or `debian`, this will usually be the same as `CDISTRO`. |
24
+
|`CDNUM`| Version of the current distro |`$version`, such as `22.04` or `5`| See above. Value is directly associated with `CDISTRO`. |
23
25
|`KVER`| Current kernel version running |`$ uname -r`||
24
26
|`PACSTALL_USER`| User who invokes pacstall |`$ logname 2> /dev/null \|\| echo "${SUDO_USER:-${USER:-$(whoami)}}"`||
0 commit comments