File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,14 @@ Reading state information... Done
102102
103103So the quickest way is:
104104```
105- curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates /install.deb.sh | sudo bash
105+ curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@ /install.deb.sh | sudo bash
106106```
107107
108108looks like
109109
110110```
111- dev@dev~#> curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates /install.deb.sh | sudo bash
112- - BRANCH [feature/12-establish-pre-hook-for-md-updates ]
111+ dev@dev~#> curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@ /install.deb.sh | sudo bash
112+ - BRANCH [@branch@ ]
113113- downloading ... ok.
114114dpkg-deb: building package 'apt-proxy-detect' in 'apt-proxy-detect_1.0.0_1705676551.deb'.
115115Reading package lists... Done
@@ -138,7 +138,7 @@ dev@dev~#>
138138
139139if you like to specify a branch do it like:
140140```
141- curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/feature/12-establish-pre-hook-for-md-updates/ install.deb.sh | sudo BRANCH=feature/12-establish-pre-hook-for-md-updates bash
141+ curl -s https://raw.githubusercontent.com/hastmu/apt-proxy-detect/refs/heads/@branch@/ install.deb.sh | sudo BRANCH=@branch@ bash
142142```
143143
144144# How does it work?
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# defaults
4- echo " - BRANCH [${BRANCH:= feature / 12-establish-pre-hook-for-md-updates } ]"
4+ echo " - BRANCH [${BRANCH:=@ branch @ } ]"
55NAME=" apt-proxy-detect"
66VERSION=" 1.0.0"
77HEADHASH=" $( date +%s) "
You can’t perform that action at this time.
0 commit comments