projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git]
/
sass
/
install.sh
diff --git
a/sass/install.sh
b/sass/install.sh
index 600c9eccc5db131b5b51464e3ce0c01d2cd1e15a..eca55d31b4d0c8986fd9b44e026c99616f351b4f 100644
(file)
--- a/
sass/install.sh
+++ b/
sass/install.sh
@@
-1,16
+1,16
@@
#!/bin/bash
#!/bin/bash
-function __init_
dart-
sass() {
+function __init_sass() {
set -e
set -u
##################
set -e
set -u
##################
- # Install
dart-
sass #
+ # Install sass #
##################
##################
- pkg_cmd_name="
dart-
sass"
+ pkg_cmd_name="sass"
- pkg_dst_cmd="$HOME/.local/bin/
dart-
sass"
+ pkg_dst_cmd="$HOME/.local/bin/sass"
pkg_dst="$pkg_dst_cmd"
# no ./bin dir here because of how the macOS version is packaged
pkg_dst="$pkg_dst_cmd"
# no ./bin dir here because of how the macOS version is packaged
@@
-26,9
+26,9
@@
function __init_dart-sass() {
}
pkg_get_current_version() {
}
pkg_get_current_version() {
- echo $(
dart-sass --version 2>
/dev/null | head -n 1 | cut -d ' ' -f 2)
+ echo $(
sass --version 2>
/dev/null | head -n 1 | cut -d ' ' -f 2)
}
}
}
}
-__init_
dart-
sass
+__init_sass