Skip to content

Commit 84ad509

Browse files
committed
update pip before install (#41)
1 parent 924ace5 commit 84ad509

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

installer/rpm/rpmbuild/SPECS/laps4linux-client.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ cp usr/share/pixmaps/laps.png $RPM_BUILD_ROOT/usr/share/pixmaps
3838
%post
3939
DIR=/usr/share/laps4linux-client
4040
python3 -m venv --system-site-packages $DIR/venv
41+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0
4142
$DIR/venv/bin/pip3 install --upgrade $DIR[barcode]
4243
$DIR/venv/bin/pip3 uninstall -y pip
4344
if command -v update-desktop-database; then

installer/rpm/rpmbuild/SPECS/laps4linux-runner.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ cp usr/sbin/laps-runner-pam $RPM_BUILD_ROOT/%{_sbindir}/laps-runner-pam
3838
%post
3939
DIR=/usr/share/laps4linux-runner
4040
python3 -m venv --system-site-packages $DIR/venv
41+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0
4142
$DIR/venv/bin/pip3 install --upgrade $DIR
4243
$DIR/venv/bin/pip3 uninstall -y pip
4344

0 commit comments

Comments
 (0)