Помогите написать правильно файл debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# # Uncomment this to turn on verbose mode.
# #export DH_VERBOSE=1
export DEB_BUILD_OPTIONS = nocheck
%:
dh $@
override_dh_auto_install:
./install.sh
Файл ./install.sh установочный, он копирует тему в urs/share/theme и лежит в архиве .orig.tar.gz
Но Launchpad пишет, что покет не может быть собран:
dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_auto_clean dh_clean debian/rules build dh build dh_update_autotools_config dh_auto_configure dh_auto_build dh_auto_test fakeroot debian/rules binary dh binary dh_auto_test dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/<<PKGBUILDDIR>>' ./install.sh Please run as root. debian/rules:12: recipe for target 'override_dh_auto_install' failed make[1]: *** [override_dh_auto_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:9: recipe for target 'binary' failed make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2