# Determine the path to the apt-config command. APT_CONFIG="$(command -v apt-config 2> /dev/null)" # Use apt-config to determine the locations of some important apt directories. eval $("$APT_CONFIG" shell APT_TRUSTED_KEYRING_DIR 'Dir::Etc::trustedparts/d') eval $("$APT_CONFIG" shell APT_SOURCE_LIST_DIR 'Dir::Etc::sourceparts/d') # Install/update our package signing key. # This is the content of https://releases.warp.dev/linux/keys/warp.asc, but # dearmored and base64-encoded. SIGNING_KEY_PATH="${APT_TRUSTED_KEYRING_DIR}@@REPO_NAME@@.gpg" base64 -d - > "$SIGNING_KEY_PATH" < "$APT_SOURCE_LIST_DEB822" <