File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ install_system_deps() {
35
35
libnspr4
36
36
libnss3
37
37
libxss1
38
- libasound2
39
38
fonts-noto-color-emoji
40
39
libgbm1
41
40
libatk-bridge2.0-0
@@ -44,6 +43,17 @@ libxrandr2
44
43
libatspi2.0-0
45
44
libxshmfence-dev
46
45
EOF
46
+
47
+ # If stack is heroku-24, install libasound2t64
48
+ if [[ " $STACK " == " heroku-24" ]]; then
49
+ cat << EOF >>$build_tmpdir /Aptfile
50
+ libasound2t64
51
+ EOF
52
+ else
53
+ cat << EOF >>$build_tmpdir /Aptfile
54
+ libasound2
55
+ EOF
56
+ fi
47
57
fi
48
58
49
59
if [[ " $SUPPORTED_BROWSERS " == * " firefox" * ]]; then
88
98
" heroku-22" )
89
99
cat << EOF >>$build_tmpdir /Aptfile
90
100
libvpx7
101
+ EOF
102
+ ;;
103
+ " heroku-24" )
104
+ cat << EOF >>$build_tmpdir /Aptfile
105
+ libvpx9
91
106
EOF
92
107
;;
93
108
* )
94
- error " STACK must be 'heroku-18', 'heroku-20', or 'heroku-22'"
109
+ error " STACK must be 'heroku-18', 'heroku-20', 'heroku-22', or 'heroku-24'"
110
+
95
111
esac
96
112
97
113
local cache_tmpdir=$( mktemp -d)
You can’t perform that action at this time.
0 commit comments