Skip to content
Snippets Groups Projects
Unverified Commit e851a532 authored by David Beniamine's avatar David Beniamine
Browse files

Fix bad path in post install

Fix #24
parent 5b9d84af
Branches 24-badpathinpostinstall
No related tags found
No related merge requests found
......@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DIR=$(realpath $(dirname $0))
cd /opt
if [ "$(dpkg -l | grep git)" ]
......@@ -40,6 +38,8 @@ else
git pull origin master
fi
DIR=$PWD
cp -v $DIR/*/service/*.service /etc/systemd/system/
dpkg -i cups/deb/*.deb
......
......@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DIR=$(dirname $0)
cd /var/www
if [ "$(dpkg -l | grep git)" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment