Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
CoiaPrant authored Dec 14, 2023
1 parent e98987a commit 3e3dd9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions applications/luci-app-opkg/root/usr/libexec/opkg-call
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ case "$action" in
failback="1"
dest_dirs=$(sed -rne 's#^dest \S+ (\S+)#\1#p' /etc/opkg.conf /etc/opkg/*.conf 2>/dev/null)

for dest_dir in ${dest_dirs}; do
if [ -f "${dest_dir}/usr/lib/opkg/status" ]; then
cat ${dest_dir}/usr/lib/opkg/status
for dest_dir in ${dest_dirs}; do
if [ -f "${dest_dir}/usr/lib/opkg/status" ]; then
cat ${dest_dir}/usr/lib/opkg/status
failback=""
fi
done
fi
done

if [ ! -z "${failback}" ]; then
cat /usr/lib/opkg/status
Expand Down

0 comments on commit 3e3dd9a

Please sign in to comment.