summaryrefslogtreecommitdiffstats
path: root/src/cmd/opkg.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-16 15:28:14 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-16 15:28:14 (EST)
commit95f9793c7ce0ec17eb0c66b579bb809765165fe5 (patch)
tree106b70801edb772a64c81d05855210ab8b8e15db /src/cmd/opkg.sh
parentc0c320617f580e1bfa5aebca72ec5aeed3276fcf (diff)
cmd/*: Use profile_detect()
Diffstat (limited to 'src/cmd/opkg.sh')
-rw-r--r--src/cmd/opkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/opkg.sh b/src/cmd/opkg.sh
index d416d06..218fb2d 100644
--- a/src/cmd/opkg.sh
+++ b/src/cmd/opkg.sh
@@ -78,7 +78,7 @@ cmd_opkg_main()
fi
done
- profile_set "$(. "${root}/etc/os-release" && printf '%s' "${ID}")"
+ profile_detect "${root}"
session_begin "${root}" . cmd_opkg_fini false