File tree Expand file tree Collapse file tree 1 file changed +27
-8
lines changed Expand file tree Collapse file tree 1 file changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -75,18 +75,37 @@ function base_sys() {
7575 snap_install \
7676 1password \
7777 signal-desktop \
78- slack \
79- vivaldi
78+ slack
79+
80+ if [ $( which 1password) == " " ]; then
81+ INFO " Installing 1password"
82+ mkdir -p /tmp/1password
83+ cd /tmp/1password
84+ wget https://downloads.1password.com/linux/debian/amd64/stable/1password-latest.deb
85+ apt_install ./1password-latest.deb
86+ cd -
87+ rm -rf /tmp/1password
88+ fi
89+
90+ if [ $( which vivaldi) == " " ]; then
91+ INFO " Installing Vivaldi"
92+ mkdir -p /tmp/vivaldi
93+ cd /tmp/vivaldi
94+ wget https://downloads.vivaldi.com/stable/vivaldi-stable_7.5.3735.54-1_amd64.deb
95+ apt_install ./vivaldi-stable* .deb
96+ cd -
97+ rm -rf /tmp/vivaldi
98+
99+ # add 1password support to vivaldi
100+ sudo mkdir -p /etc/1password
101+ echo " vivalid" | sudo tee /etc/1password/custom_allowed_browsers
102+ sudo chown root:root /etc/1password/custom_allowed_browsers
103+ sudo chmod 755 /etc/1password/custom_allowed_browsers
104+ fi
80105
81106 apt_install \
82107 gnome-browser-connector
83108
84- # add 1password support to vivaldi
85- sudo mkdir -p /etc/1password
86- echo " vivalid.vivaldi-stable" | sudo tee /etc/1password/custom_allowed_browsers
87- sudo chown root:root /etc/1password/custom_allowed_browsers
88- sudo chmod 755 /etc/1password/custom_allowed_browsers
89-
90109 return 0
91110}
92111
You can’t perform that action at this time.
0 commit comments