Skip to content

Commit 97d626b

Browse files
committed
fix(installer): Void VUR repo auto-imports key, no manual curl; add repo removal on uninstall
1 parent 4741419 commit 97d626b

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/components/UninstallSection.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ const cleanupCode =
9090
xbps không tự xoá — tắt và dọn thủ công:
9191
</p>
9292
<CodeBlock :code="voidSvCleanup" />
93+
<p class="instruction mb-2 mt-3">
94+
Nếu không còn dùng kho VUR nữa, xoá cấu hình kho:
95+
</p>
96+
<CodeBlock :code="'sudo rm /etc/xbps.d/00-VUR.conf'" />
9397
</UninstallItem>
9498

9599
<UninstallItem icon="simple-icons:nixos" name="NixOS">

src/data/installer.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,16 @@ export const logic = {
146146
{
147147
type: 'code',
148148
content:
149-
'curl -fsSL "https://codeberg.org/oSoWoSo/oco/raw/branch/OCO/keys/oco-repo-key.plist" -o /tmp/oco-repo-key.plist 2>/dev/null || curl -fsSL "https://raw.githubusercontent.com/oSoWoSo/Void_Community_Repository/OCO/keys/oco-repo-key.plist" -o /tmp/oco-repo-key.plist\nsudo cp /tmp/oco-repo-key.plist /var/db/xbps/keys/oco-repo-key.plist\necho repository=https://repo.osowoso.org/x86_64 | sudo tee /etc/xbps.d/00-VUR.conf\nsudo xbps-install -S\nsudo xbps-install -S fcitx5-lotus',
149+
'echo repository=https://repo.osowoso.org/x86_64 | sudo tee /etc/xbps.d/00-VUR.conf\nsudo xbps-install -S',
150+
},
151+
{
152+
type: 'text',
153+
content:
154+
'Lần đầu đồng bộ sau khi thêm kho, xbps sẽ hỏi import khoá RSA "oSoWoSo <mail@osowoso.org>" (Do you want to import this public key? [Y/n]) — gõ y. Không cần tải khoá thủ công bằng curl nữa.',
155+
},
156+
{
157+
type: 'code',
158+
content: 'sudo xbps-install -S fcitx5-lotus',
150159
},
151160
{
152161
type: 'text',

0 commit comments

Comments
 (0)