Clean up scripts

This commit is contained in:
ViViDboarder 2022-04-05 10:27:56 -07:00
parent 3f0658bba5
commit e0ce41546e
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ def get_terminal_profile(force: bool = False):
if term_program == "Apple_Terminal": if term_program == "Apple_Terminal":
tty_output = check_output(["tty"]).strip() tty_output = check_output(["tty"]).strip()
tty = str(tty_output, encoding="utf-8") tty = str(tty_output, encoding="utf-8")
code, stdout, stderr = run_applescript( code, stdout, _ = run_applescript(
TERMINAL_SETTINGS_SCRIPT.format(tty), TERMINAL_SETTINGS_SCRIPT.format(tty),
) )
if code: if code:

View File

@ -22,7 +22,7 @@ if ! is_installed "packages" || prompt_yn "Reinstall packages?" ; then
install_packages=true install_packages=true
fi fi
### Run recipes # Run recipes
if $install_packages ; then if $install_packages ; then
recipe 'packages' recipe 'packages'
set_installed "packages" set_installed "packages"