forked from Shinonome/althea
Create build_rpm.sh
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$(dirname "$0")" || exit
|
||||||
|
|
||||||
|
if [ -d "./AltLinux/usr/lib" ]; then
|
||||||
|
rm -rf "./AltServer/usr/lib"
|
||||||
|
fi
|
||||||
|
if [ -d "./dist" ]; then
|
||||||
|
rm -rf "./dist"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pyinstaller altlinux.spec --clean
|
||||||
|
cp -R ./resources ./dist/altlinux
|
||||||
|
mkdir -p "./AltLinux/usr/lib"
|
||||||
|
|
||||||
|
cp -R ./dist/altlinux ./AltLinux/usr/lib
|
||||||
|
chmod -R 0775 AltLinux
|
||||||
Reference in New Issue
Block a user