PHP 8.5.2
Preview: apps-bin-path.sh Size: 840 B
/etc/profile.d/apps-bin-path.sh

# shellcheck shell=sh
# Expand $PATH to include the directory where snappy applications go.
snap_bin_path="/snap/bin"
if test -n "${PATH##*${snap_bin_path}}" && test -n "${PATH##*${snap_bin_path}:*}"; then
    export PATH="$PATH:${snap_bin_path}"
fi

# Ensure base distro defaults xdg path are set if nothing filed up some
# defaults yet.
if test -z "$XDG_DATA_DIRS" ; then
    export XDG_DATA_DIRS="/usr/local/share:/usr/share"
fi

# Desktop files (used by desktop environments within both X11 and Wayland) are
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for
# snappy applications' desktop files.
snap_xdg_path="/var/lib/snapd/desktop"
if test -n "${XDG_DATA_DIRS##*${snap_xdg_path}}" && test -n "${XDG_DATA_DIRS##*${snap_xdg_path}:*}"; then
    export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${snap_xdg_path}"
fi

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
96 B lrw-r--r-- 2024-04-22 13:04:27
Edit Download
840 B lrw-r--r-- 2025-11-21 07:08:02
Edit Download
726 B lrw-r--r-- 2023-09-18 00:38:13
Edit Download
1.08 KB lrw-r--r-- 2024-03-31 05:33:52
Edit Download
757 B lrw-r--r-- 2024-03-31 05:33:52
Edit Download
1.52 KB lrw-r--r-- 2024-02-10 17:03:36
Edit Download
3.32 KB lrwxr-xr-x 2025-08-12 21:19:32
Edit Download
841 B lrwxr-xr-x 2025-08-12 21:19:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).