We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47d827 commit 1aa6a31Copy full SHA for 1aa6a31
loong64-it/loong64-it.bash
@@ -21,6 +21,9 @@ abinfo() { echo -e "[\e[96mINFO\e[0m]: \e[1m$*\e[0m"; }
21
abdbg() { echo -e "[\e[32mDEBUG\e[0m]: \e[1m$*\e[0m"; }
22
23
_convert_loong64() {
24
+ HERE=$(basename $1)
25
+ PKG_NAME=$(dpkg-deb -f "$1" Package)
26
+ VERSION=$(dpkg-deb -f "$1" Version)
27
abinfo "Examining package information: $1 ..."
28
dpkg -I "$SRCDIR"/$1 || \
29
aberr "Invalid dpkg package: control (metadata) archive not found: $?"
@@ -86,7 +89,7 @@ _convert_loong64() {
86
89
abinfo """Your requested package:
87
90
88
91
$1
-
92
+ mv $1 $HERE/${PKG_NAME}_${VERSION}_loong64.deb
93
Has been successfully converted as a loong64 package!
94
95
However, you may still need to install libLoL for old-world applications to
0 commit comments