Skip to content

Commit 0bd3866

Browse files
nsheapsautomation-nsheaps[bot]
authored andcommitted
1 parent 28064fd commit 0bd3866

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Casks/onepassword.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'apt-get', 'update',
2626
'-o', 'Dir::Etc::sourcelist=sources.list.d/1password.list',
2727
'-o', 'Dir::Etc::sourceparts=-',
28-
'-o', 'APT::Get::List-Cleanup=0',
28+
'-o', 'APT::Get::List-Cleanup=0'
2929
]
3030
system_command '/usr/bin/sudo',
3131
args: ['apt-get', 'install', '-y', '1password']

Formula/onepassword-cli.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def post_install
2626
'sudo', 'apt-get', 'update',
2727
'-o', 'Dir::Etc::sourcelist=sources.list.d/1password.list',
2828
'-o', 'Dir::Etc::sourceparts=-',
29-
'-o', 'APT::Get::List-Cleanup=0',
29+
'-o', 'APT::Get::List-Cleanup=0'
3030
]
3131
system(*apt_update_args)
3232
system 'sudo', 'apt-get', 'install', '-y', '1password-cli'
@@ -69,7 +69,7 @@ def setup_apt_repo
6969
# Add APT source
7070
unless File.exist?(sources_file)
7171
deb_line = "deb [arch=#{arch} signed-by=#{gpg_keyring}] " \
72-
"https://downloads.1password.com/linux/debian/#{arch} stable main"
72+
"https://downloads.1password.com/linux/debian/#{arch} stable main"
7373
system 'bash', '-c', "echo '#{deb_line}' | sudo tee #{sources_file}"
7474
end
7575

@@ -85,7 +85,7 @@ def setup_apt_repo
8585

8686
system 'sudo', 'mkdir', '-p', keyring_dir
8787
debsig_cmd = 'curl -sS https://downloads.1password.com/linux/keys/1password.asc | ' \
88-
"sudo gpg --dearmor --output #{keyring_dir}/debsig.gpg"
88+
"sudo gpg --dearmor --output #{keyring_dir}/debsig.gpg"
8989
system 'bash', '-c', debsig_cmd
9090
end
9191
end

0 commit comments

Comments
 (0)