update scripts
This commit is contained in:
parent
5e6a09f36d
commit
ac118ed03d
|
@ -8,8 +8,9 @@
|
||||||
|
|
||||||
# install hblock
|
# install hblock
|
||||||
|
|
||||||
|
chroot /target \
|
||||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \
|
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \
|
||||||
&& echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \
|
&& echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \
|
||||||
&& sudo mv /tmp/hblock /target/usr/local/bin/hblock \
|
&& mv /tmp/hblock /usr/local/bin/hblock \
|
||||||
&& sudo chown 0:0 /target/usr/local/bin/hblock \
|
&& chown 0:0 /usr/local/bin/hblock \
|
||||||
&& sudo chmod 755 /target/usr/local/bin/hblock
|
&& chmod 755 /usr/local/bin/hblock
|
||||||
|
|
|
@ -8,4 +8,11 @@
|
||||||
|
|
||||||
# Remove unwanted software
|
# Remove unwanted software
|
||||||
|
|
||||||
apt --purge --yes autoremove quassel thunderbird mpv smtube audacious connman
|
chroot /target \
|
||||||
|
apt --purge --yes autoremove \
|
||||||
|
-- quassel \
|
||||||
|
-- thunderbird \
|
||||||
|
-- mpv \
|
||||||
|
-- smtube \
|
||||||
|
-- audacious \
|
||||||
|
-- connman \
|
||||||
|
|
|
@ -8,8 +8,9 @@
|
||||||
|
|
||||||
# install hblock
|
# install hblock
|
||||||
|
|
||||||
|
chroot /target \
|
||||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \
|
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \
|
||||||
&& echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \
|
&& echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \
|
||||||
&& sudo mv /tmp/hblock /target/usr/local/bin/hblock \
|
&& mv /tmp/hblock /usr/local/bin/hblock \
|
||||||
&& sudo chown 0:0 /target/usr/local/bin/hblock \
|
&& chown 0:0 /usr/local/bin/hblock \
|
||||||
&& sudo chmod 755 /target/usr/local/bin/hblock
|
&& chmod 755 /usr/local/bin/hblock
|
||||||
|
|
|
@ -8,4 +8,11 @@
|
||||||
|
|
||||||
# Remove unwanted software
|
# Remove unwanted software
|
||||||
|
|
||||||
apt --purge --yes autoremove quassel thunderbird mpv smtube audacious connman
|
chroot /target \
|
||||||
|
apt --purge --yes autoremove \
|
||||||
|
-- quassel \
|
||||||
|
-- thunderbird \
|
||||||
|
-- mpv \
|
||||||
|
-- smtube \
|
||||||
|
-- audacious \
|
||||||
|
-- connman \
|
||||||
|
|
Loading…
Reference in New Issue