OSDN Git Service

[fix] : Fixed deb file path master origin/HEAD origin/master osdn/master
authorhayao <hayao@fascode.net>
Thu, 29 Apr 2021 04:23:48 +0000 (13:23 +0900)
committerhayao <hayao@fascode.net>
Thu, 29 Apr 2021 04:23:48 +0000 (13:23 +0900)
aptpac

diff --git a/aptpac b/aptpac
index b32f6f9..fb66faa 100755 (executable)
--- a/aptpac
+++ b/aptpac
@@ -229,8 +229,8 @@ _run_debtap(){
             _msg_debug "Work dir: ${work}"
             _msg_debug "Deb file:${work}"
             sudo mkdir -p "${work}"
-            cd "${work}"
             sudo cp "${pkg}" "${file}"
+            cd "${work}"
             sudo debtap --Quiet "${file}"
             while read -r archpkg; do
                 _msg_debug "Install ${archpkg} with pacman"