diff --git a/installer/create-packages.sh b/installer/create-packages.sh index 57b15a9..986e493 100644 --- a/installer/create-packages.sh +++ b/installer/create-packages.sh @@ -20,15 +20,4 @@ do dpkg-deb --build powerjoular mv powerjoular.deb powerjoular_${VERSION}_${ARCH}.deb cd .. -done - -# For Red Hat, Fedora (.rpm package) -rm -rf rpmbuild -mkdir rpmbuild -cd rpmbuild -mkdir BUILD RPMS SOURCES SPECS SRPMS -cd .. -cp ../obj/powerjoular ./rpmbuild/SOURCES/ -cp ../systemd/powerjoular.service ./rpmbuild/SOURCES/ -cp ./powerjoular.spec ./rpmbuild/SPECS/ -rpmbuild -bb --define "_topdir $(pwd)/rpmbuild" ./rpmbuild/SPECS/powerjoular.spec \ No newline at end of file +done \ No newline at end of file