File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Convert the `dpkg -i` to `apt install -y`
4+ if [[ " $1 " == " -i" ]]; then
5+ shift
6+ expand_paths () {
7+ for deb; do
8+ if [[ -e " $deb " ]]; then
9+ echo " $( realpath " $deb " ) "
10+ else
11+ echo " $deb "
12+ fi
13+ done
14+ }
15+ exec /usr/bin/apt install -y $( expand_paths " $@ " )
16+ fi
17+
18+ exec /usr/bin/dpkg " $@ "
Original file line number Diff line number Diff line change 1+ proxmox-perl-rs f9353c3a9ceb0795999a83f3516f6dad5820b306 # Mon Jul 21 19:09:40 2025 +0200
2+ proxmox cddc6b525b92cea57694297fba678d49e348ba8a # Mon Jul 21 18:54:44 2025 +0200
3+ proxmox-resource-scheduling ee5fedf98b7e110c5a11bb11cc8e657122065606 # Sat May 31 16:09:19 2025 +0200
4+ perlmod 9f2d4f309657f3f9da50a2142c1bd6ff4773ffa7 # Wed Jul 2 16:19:27 2025 +0200
5+ proxmox-ve-rs 47c9272807ae63fec289aafcc833ca0728bce522 # Thu Jul 17 21:04:54 2025 +0200
You can’t perform that action at this time.
0 commit comments