move alsaunmute, alsacard to /bin

This commit is contained in:
Bill Nottingham 2005-07-21 14:45:20 +00:00
parent 1fb4aaee1a
commit 6a536a988c
2 changed files with 6 additions and 3 deletions

View File

@ -48,8 +48,9 @@ ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
install -m 755 salsa $RPM_BUILD_ROOT/sbin install -m 755 salsa $RPM_BUILD_ROOT/sbin
mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/ mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d
install -m 755 alsacard %{buildroot}%{_bindir} mkdir -p -m755 $RPM_BUILD_ROOT/bin
install -m 755 alsaunmute %{buildroot}%{_bindir} install -m 755 alsaunmute %{buildroot}/bin
install -m 755 alsacard %{buildroot}/bin
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
@ -58,6 +59,7 @@ install -m 755 alsaunmute %{buildroot}%{_bindir}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING ChangeLog README TODO %doc COPYING ChangeLog README TODO
/etc/udev/rules.d/* /etc/udev/rules.d/*
/bin/*
%{_bindir}/* %{_bindir}/*
%{_sbindir}/* %{_sbindir}/*
/sbin/* /sbin/*
@ -70,6 +72,7 @@ install -m 755 alsaunmute %{buildroot}%{_bindir}
* Wed Jul 13 2005 Bill Nottingham <notting@redhat.com> 1.0.9-4 * Wed Jul 13 2005 Bill Nottingham <notting@redhat.com> 1.0.9-4
- migrate the alsa restore program to a udev rule, not a dev.d program - migrate the alsa restore program to a udev rule, not a dev.d program
- conflict with appropriate udev - conflict with appropriate udev
- move alsaunmute, alsacard to /bin
* Mon Jul 11 2005 Martin Stransky <stransky@redhat.com> 1.0.9-3 * Mon Jul 11 2005 Martin Stransky <stransky@redhat.com> 1.0.9-3
- New alsaunmute utility - New alsaunmute utility

View File

@ -91,7 +91,7 @@ void frob_mixer(int index)
char tmp[100]; char tmp[100];
snprintf(tmp, 100, "%d", index); snprintf(tmp, 100, "%d", index);
tmp[99] = '\0'; tmp[99] = '\0';
execl("//usr//bin//alsaunmute","//usr//bin//alsaunmute", tmp, "-v", NULL); execl("/bin/alsaunmute","/bin/alsaunmute", tmp, "-v", NULL);
} }
int main(int argc, char **argv) int main(int argc, char **argv)