Permalink
Browse files

Fixed burn iso only mode bug

  • Loading branch information...
1 parent 5338390 commit 9f79faad7c63c40185b5aa1ed2085e01a5281061 Marcin Karpezo committed Dec 14, 2009
Showing with 3 additions and 31 deletions.
  1. +0 −29 PKGBUILD
  2. +3 −2 simpleburner.pl
View
@@ -1,29 +0,0 @@
-# Maintainer: Marcin Karpezo <sirmacik at gmail dot com>
-pkgname=simpleburner-git
-pkgver=20091012
-pkgrel=1
-pkgdesc="To make Your burning CD/DVD's easier under the CLI environment"
-arch=('i686' 'x86_64')
-url="http://sirmacik.net/simpleburner/"
-license=('BSD')
-depends=('python' ' cdrkit')
-makedepends=('git')
-source=()
-md5sums=()
-
-_gitname="simpleburner"
-_gitroot=" git://repo.or.cz/${_gitname}.git"
-
-build() {
- cd ${startdir}/src
-
- if [[ -d ${startdir}/src/${_gitname} ]]; then
- cd ${_gitname}
- git pull origin || return 1
- else
- git clone ${_gitroot} || return 1
- fi
-
- mkdir -p ${startdir}/pkg/usr/bin
- install -Dm 755 ${startdir}/src/${_gitname}/${_gitname}.py ${startdir}/pkg/usr/bin/${_gitname}
-}
View
@@ -35,7 +35,7 @@
my $writer = "";
my $isomaker = "";
-my $datadir = "";
+my $datadir = "/tmp";
my $isoname = "/tmp/cd.iso";
my $device = "/dev/sr0";
my $speed ="";
@@ -164,12 +164,13 @@ sub burniso {
&programcheck;
-&optcheck;
if ($burn) {
&burniso;
} elsif ($make) {
&makeiso;
+ &optcheck;
} else {
+ &optcheck;
&makeiso;
&burniso;
}

0 comments on commit 9f79faa

Please sign in to comment.