<commit_before>#!/bin/bash

set -e

PROFILE_D_FILE="/etc/profile.d/github-desktop.sh"
INSTALL_DIR="/opt/${productFilename}"
SCRIPT="#!/bin/sh
export PATH=$INSTALL_DIR:\$PATH"

case "$1" in
    configure)
      echo "$SCRIPT" > "${PROFILE_D_FILE}";
      . "${PROFILE_D_FILE}";
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
      echo "postinst called with unknown argument \`$1'" >&2
      exit 1
    ;;
esac

exit 0<commit_msg>corrected formatting of emitted profile script<commit_after>#!/bin/bash

set -e

PROFILE_D_FILE="/etc/profile.d/github-desktop.sh"
INSTALL_DIR="/opt/${productFilename}"
SCRIPT=$"#!/bin/sh
export PATH=\"$INSTALL_DIR:\$PATH\""

case "$1" in
    configure)
      echo "$SCRIPT" > "${PROFILE_D_FILE}";
      . "${PROFILE_D_FILE}";
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
      echo "postinst called with unknown argument \`$1'" >&2
      exit 1
    ;;
esac

exit 0
{'fraction_non_alphanumeric': 0.17405063291139242, 'fraction_numerical': 0.010548523206751054, 'mean_word_length': 3.236607142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '494080', 'n_tokens_mistral': 376, 'n_tokens_neox': 345, 'n_words': 64}