Skip to content

Commit 595ccac

Browse files
committed
Always install flatpaks at user level
1 parent 82281bc commit 595ccac

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/common/package-management.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,7 @@ function install_flatpak() {
291291
is_flatpak_installed "${PACKAGE}" && return
292292

293293
echo -e " >>> Installing flatpak: \e[0;33m${PACKAGE}\e[0m (${REMOTE})..."
294-
if ${HAS_SU_PRIVILEGES} && [ "${CHASSIS_TYPE}" != 'Phone' ]; then
295-
call_flatpak install --system "${REMOTE}" "${PACKAGE}"
296-
else
297-
call_flatpak install --user "${REMOTE}" "${PACKAGE}"
298-
fi
294+
call_flatpak install --user "${REMOTE}" "${PACKAGE}"
299295
}
300296

301297
function install_vscode_package() {

0 commit comments

Comments
 (0)