mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 07:17:40 +00:00
Clean up scripts
This commit is contained in:
parent
3f0658bba5
commit
e0ce41546e
@ -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:
|
||||||
|
2
minimal
2
minimal
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user