Skip to content

Commit c76281a

Browse files
committed
Correct startup
1 parent b1b9ff3 commit c76281a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

usr/bin/biglinux-swap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
for i in /usr/lib/python3.{6..25}/site-packages/biglinux_swap /usr/share/biglinux/biglinux-systemd-swap-gui/biglinux_swap /usr/share/biglinux/biglinux-systemd-swap-gui; do
4-
if [ -e "$i/__init__.py" ]; then
4+
if [ -e "$i/main.py" ]; then
55
cd "$i"
66
break
77
fi
88
done
99

10-
exec python3 __init__.py "$@"
10+
exec python3 main.py "$@"

0 commit comments

Comments
 (0)