File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/src/app/scripts/_components/ScriptItems Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { basePath } from "@/config/siteConfig";
44import { Script } from "@/lib/types" ;
55import { getDisplayValueFromType } from "../ScriptInfoBlocks" ;
66
7- const getInstallCommand = ( scriptPath ?: string ) => {
8- return `bash -c "$(wget -qLO - https://github.com/community-scripts/${ basePath } /raw/main/${ scriptPath } )"` ;
7+ const getInstallCommand = ( scriptPath ?: string , isAlpine = false ) => {
8+ return `bash -c "$(wget -q ${ isAlpine ? "" : "L" } O - https://github.com/community-scripts/${ basePath } /raw/main/${ scriptPath } )"` ;
99} ;
1010
1111export default function InstallCommand ( { item } : { item : Script } ) {
@@ -67,7 +67,7 @@ export default function InstallCommand({ item }: { item: Script }) {
6767 < TabsContent value = "alpine" >
6868 { renderInstructions ( true ) }
6969 < CodeCopyButton >
70- { getInstallCommand ( alpineScript . script ) }
70+ { getInstallCommand ( alpineScript . script , true ) }
7171 </ CodeCopyButton >
7272 </ TabsContent >
7373 </ Tabs >
You can’t perform that action at this time.
0 commit comments